summaryrefslogtreecommitdiffstats
path: root/src/devices/cpu/m6502/m5074x.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/m6502/m5074x.h')
-rw-r--r--src/devices/cpu/m6502/m5074x.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/devices/cpu/m6502/m5074x.h b/src/devices/cpu/m6502/m5074x.h
index 2782d09f2d7..cb1b71a962c 100644
--- a/src/devices/cpu/m6502/m5074x.h
+++ b/src/devices/cpu/m6502/m5074x.h
@@ -20,28 +20,28 @@
//**************************************************************************
#define MCFG_M5074X_PORT0_READ_CALLBACK(_read) \
- devcb = &downcast<m5074x_device &>(*device).set_p0_rd_callback(DEVCB_##_read);
+ downcast<m5074x_device &>(*device).set_p0_rd_callback(DEVCB_##_read);
#define MCFG_M5074X_PORT1_READ_CALLBACK(_read) \
- devcb = &downcast<m5074x_device &>(*device).set_p1_rd_callback(DEVCB_##_read);
+ downcast<m5074x_device &>(*device).set_p1_rd_callback(DEVCB_##_read);
#define MCFG_M5074X_PORT2_READ_CALLBACK(_read) \
- devcb = &downcast<m5074x_device &>(*device).set_p2_rd_callback(DEVCB_##_read);
+ downcast<m5074x_device &>(*device).set_p2_rd_callback(DEVCB_##_read);
#define MCFG_M5074X_PORT3_READ_CALLBACK(_read) \
- devcb = &downcast<m5074x_device &>(*device).set_p3_rd_callback(DEVCB_##_read);
+ downcast<m5074x_device &>(*device).set_p3_rd_callback(DEVCB_##_read);
#define MCFG_M5074X_PORT0_WRITE_CALLBACK(_write) \
- devcb = &downcast<m5074x_device &>(*device).set_p0_wr_callback(DEVCB_##_write);
+ downcast<m5074x_device &>(*device).set_p0_wr_callback(DEVCB_##_write);
#define MCFG_M5074X_PORT1_WRITE_CALLBACK(_write) \
- devcb = &downcast<m5074x_device &>(*device).set_p1_wr_callback(DEVCB_##_write);
+ downcast<m5074x_device &>(*device).set_p1_wr_callback(DEVCB_##_write);
#define MCFG_M5074X_PORT2_WRITE_CALLBACK(_write) \
- devcb = &downcast<m5074x_device &>(*device).set_p2_wr_callback(DEVCB_##_write);
+ downcast<m5074x_device &>(*device).set_p2_wr_callback(DEVCB_##_write);
#define MCFG_M5074X_PORT3_WRITE_CALLBACK(_write) \
- devcb = &downcast<m5074x_device &>(*device).set_p3_wr_callback(DEVCB_##_write);
+ downcast<m5074x_device &>(*device).set_p3_wr_callback(DEVCB_##_write);
//**************************************************************************
// TYPE DEFINITIONS