summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/rc702.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/rc702.cpp')
-rw-r--r--src/mame/drivers/rc702.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/rc702.cpp b/src/mame/drivers/rc702.cpp
index d34e559d162..b10f0ce2a71 100644
--- a/src/mame/drivers/rc702.cpp
+++ b/src/mame/drivers/rc702.cpp
@@ -58,7 +58,7 @@ public:
}
void init_rc702();
- void machine_reset_rc702();
+ DECLARE_MACHINE_RESET(rc702);
DECLARE_READ8_MEMBER(memory_read_byte);
DECLARE_WRITE8_MEMBER(memory_write_byte);
DECLARE_WRITE8_MEMBER(port14_w);
@@ -147,7 +147,7 @@ static INPUT_PORTS_START( rc702 )
PORT_DIPSETTING( 0x00, DEF_STR( On ))
INPUT_PORTS_END
-void rc702_state::machine_reset_rc702()
+MACHINE_RESET_MEMBER( rc702_state, rc702 )
{
membank("bankr0")->set_entry(0); // point at rom
membank("bankw0")->set_entry(0); // always write to ram
@@ -334,7 +334,7 @@ MACHINE_CONFIG_START(rc702_state::rc702)
MCFG_DEVICE_IO_MAP(rc702_io)
MCFG_Z80_DAISY_CHAIN(daisy_chain_intf)
- set_machine_reset_cb(config, driver_callback_delegate(&machine_reset_rc702, this));
+ MCFG_MACHINE_RESET_OVERRIDE(rc702_state, rc702)
MCFG_DEVICE_ADD("ctc_clock", CLOCK, 614000)
MCFG_CLOCK_SIGNAL_HANDLER(WRITELINE(*this, rc702_state, clock_w))