fix display not refreshing on loadstate

This commit is contained in:
hap 2015-03-15 17:56:56 +01:00
parent 02590ff263
commit ce5d0ca8d4
6 changed files with 19 additions and 15 deletions

View File

@ -116,7 +116,7 @@ void hh_hmcs40_state::machine_start()
save_item(NAME(m_display_wait)); save_item(NAME(m_display_wait));
save_item(NAME(m_display_state)); save_item(NAME(m_display_state));
save_item(NAME(m_display_cache)); /* save_item(NAME(m_display_cache)); */ // don't save!
save_item(NAME(m_display_decay)); save_item(NAME(m_display_decay));
save_item(NAME(m_display_segmask)); save_item(NAME(m_display_segmask));

View File

@ -89,7 +89,7 @@ void hh_pic16_state::machine_start()
save_item(NAME(m_display_wait)); save_item(NAME(m_display_wait));
save_item(NAME(m_display_state)); save_item(NAME(m_display_state));
save_item(NAME(m_display_cache)); /* save_item(NAME(m_display_cache)); */ // don't save!
save_item(NAME(m_display_decay)); save_item(NAME(m_display_decay));
save_item(NAME(m_display_segmask)); save_item(NAME(m_display_segmask));

View File

@ -228,7 +228,7 @@ void hh_tms1k_state::machine_start()
save_item(NAME(m_display_wait)); save_item(NAME(m_display_wait));
save_item(NAME(m_display_state)); save_item(NAME(m_display_state));
save_item(NAME(m_display_cache)); /* save_item(NAME(m_display_cache)); */ // don't save!
save_item(NAME(m_display_decay)); save_item(NAME(m_display_decay));
save_item(NAME(m_display_segmask)); save_item(NAME(m_display_segmask));

View File

@ -131,7 +131,7 @@ void hh_ucom4_state::machine_start()
save_item(NAME(m_display_wait)); save_item(NAME(m_display_wait));
save_item(NAME(m_display_state)); save_item(NAME(m_display_state));
save_item(NAME(m_display_cache)); /* save_item(NAME(m_display_cache)); */ // don't save!
save_item(NAME(m_display_decay)); save_item(NAME(m_display_decay));
save_item(NAME(m_display_segmask)); save_item(NAME(m_display_segmask));

View File

@ -114,7 +114,7 @@ void ticalc1x_state::machine_start()
save_item(NAME(m_display_wait)); save_item(NAME(m_display_wait));
save_item(NAME(m_display_state)); save_item(NAME(m_display_state));
save_item(NAME(m_display_cache)); /* save_item(NAME(m_display_cache)); */ // don't save!
save_item(NAME(m_display_decay)); save_item(NAME(m_display_decay));
save_item(NAME(m_display_segmask)); save_item(NAME(m_display_segmask));

View File

@ -741,8 +741,12 @@ void tispeak_state::machine_start()
m_filament_on = 0; m_filament_on = 0;
// register for savestates // register for savestates
save_item(NAME(m_display_maxy));
save_item(NAME(m_display_maxx));
save_item(NAME(m_display_wait));
save_item(NAME(m_display_state)); save_item(NAME(m_display_state));
save_item(NAME(m_display_cache)); /* save_item(NAME(m_display_cache)); */ // don't save!
save_item(NAME(m_display_decay)); save_item(NAME(m_display_decay));
save_item(NAME(m_display_segmask)); save_item(NAME(m_display_segmask));
@ -980,14 +984,14 @@ ROM_END
COMP( 1978, snspell, 0, 0, snspell, snspell, tispeak_state, snspell, "Texas Instruments", "Speak & Spell (US, 1978 version/prototype)", GAME_IMPERFECT_SOUND ) COMP( 1978, snspell, 0, 0, snspell, snspell, tispeak_state, snspell, "Texas Instruments", "Speak & Spell (US, 1978 version/prototype)", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND )
COMP( 1980, snspella, snspell, 0, snspell, snspell, tispeak_state, snspell, "Texas Instruments", "Speak & Spell (US, 1980 version)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND ) // incomplete dump, uses prototype MCU ROM COMP( 1980, snspella, snspell, 0, snspell, snspell, tispeak_state, snspell, "Texas Instruments", "Speak & Spell (US, 1980 version)", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND | GAME_NOT_WORKING ) // incomplete dump, uses prototype MCU ROM
COMP( 1978, snspelluk, snspell, 0, snspell, snspell, tispeak_state, snspell, "Texas Instruments", "Speak & Spell (UK, 1978 version)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND ) // incomplete dump, uses prototype MCU ROM COMP( 1978, snspelluk, snspell, 0, snspell, snspell, tispeak_state, snspell, "Texas Instruments", "Speak & Spell (UK, 1978 version)", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND | GAME_NOT_WORKING ) // incomplete dump, uses prototype MCU ROM
COMP( 1981, snspelluka, snspell, 0, snspell, snspell, tispeak_state, snspell, "Texas Instruments", "Speak & Spell (UK, 1981 version)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND ) // incomplete dump, uses prototype MCU ROM COMP( 1981, snspelluka, snspell, 0, snspell, snspell, tispeak_state, snspell, "Texas Instruments", "Speak & Spell (UK, 1981 version)", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND | GAME_NOT_WORKING ) // incomplete dump, uses prototype MCU ROM
COMP( 1979, snspelljp, snspell, 0, snspell, snspell, tispeak_state, snspell, "Texas Instruments", "Speak & Spell (Japan)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND ) // incomplete dump, uses prototype MCU ROM COMP( 1979, snspelljp, snspell, 0, snspell, snspell, tispeak_state, snspell, "Texas Instruments", "Speak & Spell (Japan)", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND | GAME_NOT_WORKING ) // incomplete dump, uses prototype MCU ROM
COMP( 1980, ladictee, snspell, 0, snspell, snspell, tispeak_state, snspell, "Texas Instruments", "La Dictee Magique (France)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND ) // doesn't work due to missing CD2702 MCU dump, German/Italian version has CD2702 too COMP( 1980, ladictee, snspell, 0, snspell, snspell, tispeak_state, snspell, "Texas Instruments", "La Dictee Magique (France)", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND | GAME_NOT_WORKING ) // doesn't work due to missing CD2702 MCU dump, German/Italian version has CD2702 too
COMP( 1986, snmath, 0, 0, snmath, snmath, driver_device, 0, "Texas Instruments", "Speak & Math (US, 1986 version)", GAME_IMPERFECT_SOUND ) COMP( 1986, snmath, 0, 0, snmath, snmath, driver_device, 0, "Texas Instruments", "Speak & Math (US, 1986 version)", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND )
COMP( 1980, snmathp, snmath, 0, snmath, snmath, driver_device, 0, "Texas Instruments", "Speak & Math (US, 1980 version/prototype)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND ) COMP( 1980, snmathp, snmath, 0, snmath, snmath, driver_device, 0, "Texas Instruments", "Speak & Math (US, 1980 version/prototype)", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND | GAME_NOT_WORKING )
COMP( 1979, lantutor, 0, 0, lantutor, lantutor, tispeak_state, lantutor, "Texas Instruments", "Language Tutor (prototype)", GAME_NOT_WORKING | GAME_IMPERFECT_SOUND ) COMP( 1979, lantutor, 0, 0, lantutor, lantutor, tispeak_state, lantutor, "Texas Instruments", "Language Tutor (prototype)", GAME_SUPPORTS_SAVE | GAME_IMPERFECT_SOUND | GAME_NOT_WORKING )