mirror of
https://github.com/holub/mame
synced 2025-05-24 14:56:21 +03:00
Fix Mantis #02528.
Xexex: clear auto-init EEPROM flag in the right place so startup with no .nv file works properly.
This commit is contained in:
parent
d68b885909
commit
c26f82169b
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user