zombraid: Fix breakage due to MCFG_MACHINE_START_OVERRIDE shadowing machine_start (nw)

This commit is contained in:
AJR 2018-12-23 21:39:10 -05:00
parent 3edc0c0d8e
commit 88a016ab6d
2 changed files with 8 additions and 2 deletions

View File

@ -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));

View File

@ -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);