summaryrefslogtreecommitdiffstats
path: root/src/devices/sound/tms5110.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/tms5110.h')
-rw-r--r--src/devices/sound/tms5110.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/devices/sound/tms5110.h b/src/devices/sound/tms5110.h
index 066590302da..b4a5a48d68d 100644
--- a/src/devices/sound/tms5110.h
+++ b/src/devices/sound/tms5110.h
@@ -14,19 +14,19 @@
/* usually 800000 for 10000 Hz sample rate. */
#define MCFG_TMS5110_M0_CB(_devcb) \
- devcb = &downcast<tms5110_device &>(*device).set_m0_callback(DEVCB_##_devcb);
+ downcast<tms5110_device &>(*device).set_m0_callback(DEVCB_##_devcb);
#define MCFG_TMS5110_M1_CB(_devcb) \
- devcb = &downcast<tms5110_device &>(*device).set_m1_callback(DEVCB_##_devcb);
+ downcast<tms5110_device &>(*device).set_m1_callback(DEVCB_##_devcb);
#define MCFG_TMS5110_ADDR_CB(_devcb) \
- devcb = &downcast<tms5110_device &>(*device).set_addr_callback(DEVCB_##_devcb);
+ downcast<tms5110_device &>(*device).set_addr_callback(DEVCB_##_devcb);
#define MCFG_TMS5110_DATA_CB(_devcb) \
- devcb = &downcast<tms5110_device &>(*device).set_data_callback(DEVCB_##_devcb);
+ downcast<tms5110_device &>(*device).set_data_callback(DEVCB_##_devcb);
#define MCFG_TMS5110_ROMCLK_CB(_devcb) \
- devcb = &downcast<tms5110_device &>(*device).set_romclk_callback(DEVCB_##_devcb);
+ downcast<tms5110_device &>(*device).set_romclk_callback(DEVCB_##_devcb);
class tms5110_device : public device_t, public device_sound_interface
@@ -365,9 +365,9 @@ DECLARE_DEVICE_TYPE(TMSPROM, tmsprom_device)
downcast<tmsprom_device &>(*device).set_stop_bit(_bit);
#define MCFG_TMSPROM_PDC_CB(_devcb) \
- devcb = &downcast<tmsprom_device &>(*device).set_pdc_callback(DEVCB_##_devcb);
+ downcast<tmsprom_device &>(*device).set_pdc_callback(DEVCB_##_devcb);
#define MCFG_TMSPROM_CTL_CB(_devcb) \
- devcb = &downcast<tmsprom_device &>(*device).set_ctl_callback(DEVCB_##_devcb);
+ downcast<tmsprom_device &>(*device).set_ctl_callback(DEVCB_##_devcb);
#endif // MAME_SOUND_TMS5110_H