Xexex: clear auto-init EEPROM flag in the right place so startup with no .nv file works properly.
This commit is contained in:
R. Belmont 2008-10-12 04:03:51 +00:00
parent d68b885909
commit c26f82169b

View File

@ -602,7 +602,6 @@ ROM_END
static MACHINE_RESET( xexex ) static MACHINE_RESET( xexex )
{ {
cur_control2 = 0; cur_control2 = 0;
init_eeprom_count = 0;
cur_sound_region = 0; cur_sound_region = 0;
suspension_active = 0; suspension_active = 0;
resume_trigger = 0; resume_trigger = 0;
@ -623,6 +622,7 @@ static MACHINE_START( xexex )
state_save_register_postload(machine, xexex_postload, NULL); state_save_register_postload(machine, xexex_postload, NULL);
resume_trigger = 1000; resume_trigger = 1000;
init_eeprom_count = 0;
dmadelay_timer = timer_alloc(dmaend_callback, NULL); dmadelay_timer = timer_alloc(dmaend_callback, NULL);
} }