diff options
author | Ivan Vangelista <mesgnet@yahoo.it> | 2016-08-29 14:45:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-29 14:45:55 +0200 |
commit | 41c53d804f9ffeb23b5e85386122b5f6892b1446 (patch) | |
tree | a82962a8cee994ce54258a14002d5753530fd7dd | |
parent | 6767ca22e5bed382ff6a744eb9debf66a6ac27e3 (diff) |
eprom.cpp: fixed save state regression (nw)
-rw-r--r-- | src/mame/drivers/eprom.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mame/drivers/eprom.cpp b/src/mame/drivers/eprom.cpp index 96a500dc111..15e6cc96bbd 100644 --- a/src/mame/drivers/eprom.cpp +++ b/src/mame/drivers/eprom.cpp @@ -48,6 +48,11 @@ void eprom_state::update_interrupts() m_maincpu->set_input_line(6, m_sound_int_state ? ASSERT_LINE : CLEAR_LINE); } +MACHINE_START_MEMBER(eprom_state,eprom) +{ + atarigen_state::machine_start(); + save_item(NAME(m_sync_data)); +} MACHINE_RESET_MEMBER(eprom_state,eprom) { @@ -391,6 +396,7 @@ static MACHINE_CONFIG_START( eprom, eprom_state ) MCFG_QUANTUM_TIME(attotime::from_hz(6000)) + MCFG_MACHINE_START_OVERRIDE(eprom_state,eprom) MCFG_MACHINE_RESET_OVERRIDE(eprom_state,eprom) MCFG_ATARI_EEPROM_2804_ADD("eeprom") @@ -435,6 +441,7 @@ static MACHINE_CONFIG_START( klaxp, eprom_state ) MCFG_QUANTUM_TIME(attotime::from_hz(600)) + MCFG_MACHINE_START_OVERRIDE(eprom_state,eprom) MCFG_MACHINE_RESET_OVERRIDE(eprom_state,eprom) MCFG_ATARI_EEPROM_2804_ADD("eeprom") @@ -478,6 +485,7 @@ static MACHINE_CONFIG_START( guts, eprom_state ) MCFG_QUANTUM_TIME(attotime::from_hz(600)) + MCFG_MACHINE_START_OVERRIDE(eprom_state,eprom) MCFG_MACHINE_RESET_OVERRIDE(eprom_state,eprom) MCFG_ATARI_EEPROM_2804_ADD("eeprom") |