summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2010-06-17 05:51:31 +0000
committer Aaron Giles <aaron@aarongiles.com>2010-06-17 05:51:31 +0000
commit39b09c0e1ffd22b83a50f8e0c946f8892dc4829d (patch)
treef8fed6479cdf1ca72ce8e56ff0bbbcd1ddcd95c1
parent65b95c27889eec5aee88e70fe8b5e5071dfdc8fd (diff)
Fix megadriv regressions.
-rw-r--r--src/mame/drivers/megadriv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/megadriv.c b/src/mame/drivers/megadriv.c
index 27ada961b0f..ee8a976a6da 100644
--- a/src/mame/drivers/megadriv.c
+++ b/src/mame/drivers/megadriv.c
@@ -5992,8 +5992,8 @@ MACHINE_RESET( megadriv )
irq6_on_timer = machine->device<timer_device>("irq6_timer");
irq4_on_timer = machine->device<timer_device>("irq4_timer");
- frame_timer->reset();
- scanline_timer->reset();
+ frame_timer->adjust(attotime_zero);
+ scanline_timer->adjust(attotime_zero);
if (genesis_other_hacks)
{
@@ -6148,10 +6148,10 @@ int megadrive_z80irq_hpos = 320;
//xxx = cputag_attotime_to_clocks(machine, "maincpu",time_elapsed_since_crap);
//mame_printf_debug("---------- cycles %d, %08x %08x\n",xxx, (UINT32)(time_elapsed_since_crap.attoseconds>>32),(UINT32)(time_elapsed_since_crap.attoseconds&0xffffffff));
//mame_printf_debug("---------- framet %d, %08x %08x\n",xxx, (UINT32)(frametime>>32),(UINT32)(frametime&0xffffffff));
- frame_timer->reset();
+ frame_timer->adjust(attotime_zero);
}
- scanline_timer->reset();
+ scanline_timer->adjust(attotime_zero);
}