summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2008-10-12 04:03:51 +0000
committer R. Belmont <rb6502@users.noreply.github.com>2008-10-12 04:03:51 +0000
commitc26f82169b68055a00d8405a6b3bdd9cf2fa1fe0 (patch)
treeceea7b35d9555ecae078bfab8870d1a3ba5a7e04
parentd68b8859097b07240bbed6a84b90786bd3cec94e (diff)
Fix Mantis #02528.
Xexex: clear auto-init EEPROM flag in the right place so startup with no .nv file works properly.
-rw-r--r--src/mame/drivers/xexex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/xexex.c b/src/mame/drivers/xexex.c
index 00f1e7cb91c..b397ca274ad 100644
--- a/src/mame/drivers/xexex.c
+++ b/src/mame/drivers/xexex.c
@@ -602,7 +602,6 @@ ROM_END
static MACHINE_RESET( xexex )
{
cur_control2 = 0;
- init_eeprom_count = 0;
cur_sound_region = 0;
suspension_active = 0;
resume_trigger = 0;
@@ -623,6 +622,7 @@ static MACHINE_START( xexex )
state_save_register_postload(machine, xexex_postload, NULL);
resume_trigger = 1000;
+ init_eeprom_count = 0;
dmadelay_timer = timer_alloc(dmaend_callback, NULL);
}