diff options
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:10 -0500 |
commit | 4d56269f38a0b06c28a91208489f7f0019b8310d (patch) | |
tree | d3f9f1ca72f1fd3d317d8036b6d676419d630b18 | |
parent | 98050a1c0dee96857bb5cfa7aaca9fda9449270c (diff) |
zombraid: Fix breakage due to MCFG_MACHINE_START_OVERRIDE shadowing machine_start (nw)
-rw-r--r-- | src/mame/drivers/seta.cpp | 8 | ||||
-rw-r--r-- | src/mame/includes/seta.h | 2 |
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); |