added timer saving to savestates

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@487 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2008-06-17 21:20:30 +00:00
parent 07abbab17a
commit e53704e691
5 changed files with 45 additions and 18 deletions

View file

@ -378,7 +378,6 @@ static int PicoFrameSimple(void)
SekCyclesReset();
z80_resetCycles();
timers_cycle();
// 6 button pad: let's just say it timed out now
Pico.m.padTHPhase[0]=Pico.m.padTHPhase[1]=0;
@ -494,6 +493,8 @@ static int PicoFrameSimple(void)
if (PsndOut && ym2612.dacen && PsndDacLine <= line_last)
PsndDoDAC(line_last);
timers_cycle();
return 0;
}