summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-12-23 21:39:10 -0500
committer AJR <ajrhacker@users.noreply.github.com>2018-12-23 21:39:39 -0500
commit88a016ab6d7e1555dea9c1991ff57688c4b2c10e (patch)
treebc9d8a1897df5d4c08839c6b5d58358f43535774
parent3edc0c0d8ebb6e6c4b89c9880e67c8e5c8f29b3d (diff)
zombraid: Fix breakage due to MCFG_MACHINE_START_OVERRIDE shadowing machine_start (nw)
-rw-r--r--src/mame/drivers/seta.cpp8
-rw-r--r--src/mame/includes/seta.h2
2 files changed, 8 insertions, 2 deletions
diff --git a/src/mame/drivers/seta.cpp b/src/mame/drivers/seta.cpp
index 2b6b808b439..bab9c301e15 100644
--- a/src/mame/drivers/seta.cpp
+++ b/src/mame/drivers/seta.cpp
@@ -8758,7 +8758,11 @@ MACHINE_CONFIG_END
Zombie Raid
***************************************************************************/
-void zombraid_state::machine_start() { m_gun_recoil.resolve(); }
+MACHINE_START_MEMBER(zombraid_state,zombraid)
+{
+ uPD71054_timer_init();
+ m_gun_recoil.resolve();
+}
MACHINE_CONFIG_START(zombraid_state::zombraid)
gundhara(config);
@@ -8767,6 +8771,8 @@ MACHINE_CONFIG_START(zombraid_state::zombraid)
MCFG_DEVICE_MODIFY("maincpu")
MCFG_DEVICE_PROGRAM_MAP(zombraid_map)
+ MCFG_MACHINE_START_OVERRIDE(zombraid_state, zombraid)
+
NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
adc0834_device &adc(ADC0834(config, "adc", 0));
diff --git a/src/mame/includes/seta.h b/src/mame/includes/seta.h
index 88b16928316..2ed826daffb 100644
--- a/src/mame/includes/seta.h
+++ b/src/mame/includes/seta.h
@@ -395,7 +395,7 @@ public:
void init_zombraid();
protected:
- virtual void machine_start() override;
+ DECLARE_MACHINE_START(zombraid);
private:
double adc_cb(uint8_t input);