summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/ampro.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/ampro.cpp')
-rw-r--r--src/mame/drivers/ampro.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/ampro.cpp b/src/mame/drivers/ampro.cpp
index 0239e7a9590..8aa098b91b2 100644
--- a/src/mame/drivers/ampro.cpp
+++ b/src/mame/drivers/ampro.cpp
@@ -45,7 +45,7 @@ public:
{ }
void init_ampro();
- void machine_reset_ampro();
+ DECLARE_MACHINE_RESET(ampro);
TIMER_DEVICE_CALLBACK_MEMBER(ctc_tick);
DECLARE_WRITE8_MEMBER(port00_w);
DECLARE_READ8_MEMBER(io_r);
@@ -134,7 +134,7 @@ static void ampro_floppies(device_slot_interface &device)
static INPUT_PORTS_START( ampro )
INPUT_PORTS_END
-void ampro_state::machine_reset_ampro()
+MACHINE_RESET_MEMBER( ampro_state, ampro )
{
membank("bankr0")->set_entry(0); // point at rom
membank("bankw0")->set_entry(0); // always write to ram
@@ -155,7 +155,7 @@ MACHINE_CONFIG_START(ampro_state::ampro)
MCFG_DEVICE_PROGRAM_MAP(ampro_mem)
MCFG_DEVICE_IO_MAP(ampro_io)
MCFG_Z80_DAISY_CHAIN(daisy_chain_intf)
- set_machine_reset_cb(config, driver_callback_delegate(&machine_reset_ampro, this));
+ MCFG_MACHINE_RESET_OVERRIDE(ampro_state, ampro)
MCFG_DEVICE_ADD("ctc_clock", CLOCK, XTAL(16'000'000) / 8) // 2MHz
MCFG_CLOCK_SIGNAL_HANDLER(WRITELINE("ctc", z80ctc_device, trg0))