Don't spin when SA1 is stopped.

This commit is contained in:
Brandon Wright 2019-01-13 15:52:45 -06:00
parent 2b5d9af6ca
commit 3dbac11beb
1 changed files with 4 additions and 1 deletions

View File

@ -61,7 +61,10 @@ void S9xSA1MainLoop (void)
{
if (Memory.FillRAM[0x2200] & 0x60)
{
SA1.Cycles += 6; // FIXME
#undef CPU
int cycles = CPU.Cycles * 3;
#define CPU SA1
SA1.Cycles = cycles;
S9xSA1UpdateTimer();
return;
}