diff options
Diffstat (limited to 'src/mame/drivers/hyprduel.cpp')
-rw-r--r-- | src/mame/drivers/hyprduel.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/hyprduel.cpp b/src/mame/drivers/hyprduel.cpp index ca7d3f92d79..c3b8f168f42 100644 --- a/src/mame/drivers/hyprduel.cpp +++ b/src/mame/drivers/hyprduel.cpp @@ -74,8 +74,8 @@ public: DECLARE_WRITE16_MEMBER(hyprduel_cpusync_trigger2_w); void init_magerror(); void init_hyprduel(); - DECLARE_MACHINE_START(hyprduel); - DECLARE_MACHINE_START(magerror); + void machine_start_hyprduel() ATTR_COLD; + void machine_start_magerror() ATTR_COLD; TIMER_CALLBACK_MEMBER(vblank_end_callback); DECLARE_WRITE_LINE_MEMBER(vdp_blit_end_w); TIMER_DEVICE_CALLBACK_MEMBER(interrupt); @@ -463,7 +463,7 @@ void hyprduel_state::machine_reset() *m_irq_enable = 0xff; } -MACHINE_START_MEMBER(hyprduel_state,hyprduel) +void hyprduel_state::machine_start_hyprduel() { save_item(NAME(m_blitter_bit)); save_item(NAME(m_requested_int)); @@ -500,7 +500,7 @@ MACHINE_CONFIG_START(hyprduel_state::hyprduel) MCFG_DEVICE_ADD("sub", M68000,20000000/2) /* 10MHz */ MCFG_DEVICE_PROGRAM_MAP(hyprduel_map2) - MCFG_MACHINE_START_OVERRIDE(hyprduel_state,hyprduel) + set_machine_start_cb(config, driver_callback_delegate(&machine_start_hyprduel, this)); /* video hardware */ i4220_config(config); @@ -528,7 +528,7 @@ MACHINE_CONFIG_START(hyprduel_state::magerror) MCFG_DEVICE_PROGRAM_MAP(magerror_map2) MCFG_DEVICE_PERIODIC_INT_DRIVER(hyprduel_state, irq1_line_hold, 968) /* tempo? */ - MCFG_MACHINE_START_OVERRIDE(hyprduel_state,hyprduel) + set_machine_start_cb(config, driver_callback_delegate(&machine_start_hyprduel, this)); /* video hardware */ i4220_config(config); |