diff options
Diffstat (limited to 'src/devices/cpu/m6502/m6510.h')
-rw-r--r-- | src/devices/cpu/m6502/m6510.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/devices/cpu/m6502/m6510.h b/src/devices/cpu/m6502/m6510.h index 4e686560f5a..28c9ab2443a 100644 --- a/src/devices/cpu/m6502/m6510.h +++ b/src/devices/cpu/m6502/m6510.h @@ -14,12 +14,6 @@ #include "m6502.h" -#define MCFG_M6510_PORT_CALLBACKS(_read, _write) \ - downcast<m6510_device *>(device)->set_callbacks(DEVCB_##_read, DEVCB_##_write); - -#define MCFG_M6510_PORT_PULLS(_up, _down) \ - downcast<m6510_device *>(device)->set_pulls(_up, _down); - class m6510_device : public m6502_device { public: m6510_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); @@ -27,10 +21,6 @@ public: uint8_t get_port(); void set_pulls(uint8_t pullup, uint8_t pulldown); - template <class Read, class Write> void set_callbacks(Read &&rd, Write &&wr) { - read_port.set_callback(std::forward<Read>(rd)); - write_port.set_callback(std::forward<Write>(wr)); - } auto read_callback() { return read_port.bind(); } auto write_callback() { return write_port.bind(); } |