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

trunk/src/emu/sound/upd7759.c
r17928r17929
250250INLINE upd7759_state *get_safe_token(device_t *device)
251251{
252252   assert(device != NULL);
253   assert(device->type() == UPD7759);
253   assert(device->type() == UPD7759 || device->type() == UPD7756);
254254   return (upd7759_state *)downcast<upd7759_device *>(device)->token();
255255}
256256

Previous 199869 Revisions Next


© 1997-2024 The MAME Team