From c26f82169b68055a00d8405a6b3bdd9cf2fa1fe0 Mon Sep 17 00:00:00 2001 From: "R. Belmont" Date: Sun, 12 Oct 2008 04:03:51 +0000 Subject: Fix Mantis #02528. Xexex: clear auto-init EEPROM flag in the right place so startup with no .nv file works properly. --- src/mame/drivers/xexex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.3