| Previous | 199869 Revisions | Next |
| r17929 Sunday 16th September, 2012 at 14:20:16 UTC by Miodrag Milanović |
|---|
| fix assert for upd7759 (no whatsnew) |
| [src/emu/sound] | upd7759.c |
| r17928 | r17929 | |
|---|---|---|
| 250 | 250 | INLINE upd7759_state *get_safe_token(device_t *device) |
| 251 | 251 | { |
| 252 | 252 | assert(device != NULL); |
| 253 | assert(device->type() == UPD7759); | |
| 253 | assert(device->type() == UPD7759 || device->type() == UPD7756); | |
| 254 | 254 | return (upd7759_state *)downcast<upd7759_device *>(device)->token(); |
| 255 | 255 | } |
| 256 | 256 |
| Previous | 199869 Revisions | Next |