summaryrefslogtreecommitdiffstats
path: root/src/devices/sound/8950intf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/8950intf.h')
-rw-r--r--src/devices/sound/8950intf.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/sound/8950intf.h b/src/devices/sound/8950intf.h
index a6a29e5b644..83aad8781c0 100644
--- a/src/devices/sound/8950intf.h
+++ b/src/devices/sound/8950intf.h
@@ -7,19 +7,19 @@
#define MCFG_Y8950_IRQ_HANDLER(cb) \
- devcb = &downcast<y8950_device &>(*device).set_irq_handler((DEVCB_##cb));
+ downcast<y8950_device &>(*device).set_irq_handler((DEVCB_##cb));
#define MCFG_Y8950_KEYBOARD_READ_HANDLER(cb) \
- devcb = &downcast<y8950_device &>(*device).set_keyboard_read_handler((DEVCB_##cb));
+ downcast<y8950_device &>(*device).set_keyboard_read_handler((DEVCB_##cb));
#define MCFG_Y8950_KEYBOARD_WRITE_HANDLER(cb) \
- devcb = &downcast<y8950_device &>(*device).set_keyboard_write_handler((DEVCB_##cb));
+ downcast<y8950_device &>(*device).set_keyboard_write_handler((DEVCB_##cb));
#define MCFG_Y8950_IO_READ_HANDLER(cb) \
- devcb = &downcast<y8950_device &>(*device).set_io_read_handler((DEVCB_##cb));
+ downcast<y8950_device &>(*device).set_io_read_handler((DEVCB_##cb));
#define MCFG_Y8950_IO_WRITE_HANDLER(cb) \
- devcb = &downcast<y8950_device &>(*device).set_io_write_handler((DEVCB_##cb));
+ downcast<y8950_device &>(*device).set_io_write_handler((DEVCB_##cb));
class y8950_device : public device_t, public device_sound_interface
{