diff options
author | Ivan Vangelista <mesgnet@yahoo.it> | 2020-11-23 22:02:59 +0100 |
---|---|---|
committer | Ivan Vangelista <mesgnet@yahoo.it> | 2020-11-23 22:02:59 +0100 |
commit | 129b5b3382a8b1b1f0e7d75d0dcb15f1252b9a1c (patch) | |
tree | c68315366c3156565775e067539a6c3e72cbd647 | |
parent | 1e26666839686ec0f92bebfa7e1d06c16c86d102 (diff) |
atm.cpp: temporarily reinstated MACHINE_RESET_OVERRIDE
-rw-r--r-- | src/mame/drivers/atm.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mame/drivers/atm.cpp b/src/mame/drivers/atm.cpp index 06a548da08e..96406432f23 100644 --- a/src/mame/drivers/atm.cpp +++ b/src/mame/drivers/atm.cpp @@ -35,7 +35,7 @@ public: void atmtb2(machine_config &config); protected: - virtual void machine_reset() override; + DECLARE_MACHINE_RESET(atm); private: void atm_port_7ffd_w(uint8_t data); @@ -145,7 +145,7 @@ void atm_state::atm_switch(address_map &map) map(0x4000, 0xffff).r(FUNC(atm_state::beta_disable_r)); } -void atm_state::machine_reset() +MACHINE_RESET_MEMBER(atm_state, atm) { uint8_t *messram = m_ram->pointer(); m_program = &m_maincpu->space(AS_PROGRAM); @@ -199,6 +199,8 @@ void atm_state::atm(machine_config &config) m_maincpu->set_addrmap(AS_IO, &atm_state::atm_io); m_maincpu->set_addrmap(AS_OPCODES, &atm_state::atm_switch); + MCFG_MACHINE_RESET_OVERRIDE(atm_state, atm) + BETA_DISK(config, m_beta, 0); subdevice<gfxdecode_device>("gfxdecode")->set_info(gfx_atm); |