diff options
Diffstat (limited to 'src/devices/sound/pokey.h')
-rw-r--r-- | src/devices/sound/pokey.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/sound/pokey.h b/src/devices/sound/pokey.h index 58688f9ee39..9e093ab252b 100644 --- a/src/devices/sound/pokey.h +++ b/src/devices/sound/pokey.h @@ -94,10 +94,10 @@ /* k543210 = k5 ... k0 returns bit0: kr1, bit1: kr2 */ /* all are, in contrast to actual hardware, ACTIVE_HIGH */ #define MCFG_POKEY_KEYBOARD_CB(_class, _method) \ - pokey_device::set_keyboard_callback(*device, pokey_device::kb_cb_delegate(&_class::_method, #_class "::" #_method, downcast<_class *>(owner))); + pokey_device::set_keyboard_callback(*device, pokey_device::kb_cb_delegate(&_class::_method, #_class "::" #_method, this)); #define MCFG_POKEY_INTERRUPT_CB(_class, _method) \ - pokey_device::set_interrupt_callback(*device, pokey_device::int_cb_delegate(&_class::_method, #_class "::" #_method, downcast<_class *>(owner))); + pokey_device::set_interrupt_callback(*device, pokey_device::int_cb_delegate(&_class::_method, #_class "::" #_method, this)); #define MCFG_POKEY_OUTPUT_RC(_R, _C, _V) \ |