summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/lsasquad.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/lsasquad.cpp')
-rw-r--r--src/mame/drivers/lsasquad.cpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/mame/drivers/lsasquad.cpp b/src/mame/drivers/lsasquad.cpp
index efd8f870659..09fc1bb137d 100644
--- a/src/mame/drivers/lsasquad.cpp
+++ b/src/mame/drivers/lsasquad.cpp
@@ -543,17 +543,13 @@ WRITE8_MEMBER(lsasquad_state::unk)
{
}
-MACHINE_START_MEMBER(lsasquad_state,lsasquad)
+void lsasquad_state::machine_start_lsasquad()
{
uint8_t *ROM = memregion("maincpu")->base();
membank("bank1")->configure_entries(0, 8, &ROM[0x10000], 0x2000);
}
-MACHINE_RESET_MEMBER(lsasquad_state,lsasquad)
-{
-}
-
/* Note: lsasquad clock values are not verified */
MACHINE_CONFIG_START(lsasquad_state::lsasquad)
@@ -572,8 +568,7 @@ MACHINE_CONFIG_START(lsasquad_state::lsasquad)
/* synchronization of the CPUs */
/* main<->sound synchronization depends on this */
- MCFG_MACHINE_START_OVERRIDE(lsasquad_state,lsasquad)
- MCFG_MACHINE_RESET_OVERRIDE(lsasquad_state,lsasquad)
+ set_machine_start_cb(config, driver_callback_delegate(&machine_start_lsasquad, this));
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
MCFG_GENERIC_LATCH_DATA_PENDING_CB(WRITELINE("soundnmi", input_merger_device, in_w<0>))
@@ -640,8 +635,7 @@ MACHINE_CONFIG_START(lsasquad_state::daikaiju)
/* synchronization of the CPUs */
/* main<->sound synchronization depends on this */
- MCFG_MACHINE_START_OVERRIDE(lsasquad_state,lsasquad)
- MCFG_MACHINE_RESET_OVERRIDE(lsasquad_state,lsasquad)
+ set_machine_start_cb(config, driver_callback_delegate(&machine_start_lsasquad, this));
MCFG_GENERIC_LATCH_8_ADD("soundlatch")
MCFG_GENERIC_LATCH_DATA_PENDING_CB(WRITELINE("soundnmi", input_merger_device, in_w<0>))