mirror of https://github.com/snes9xgit/snes9x.git
Don't spin when SA1 is stopped.
This commit is contained in:
parent
2b5d9af6ca
commit
3dbac11beb
|
@ -61,7 +61,10 @@ void S9xSA1MainLoop (void)
|
||||||
{
|
{
|
||||||
if (Memory.FillRAM[0x2200] & 0x60)
|
if (Memory.FillRAM[0x2200] & 0x60)
|
||||||
{
|
{
|
||||||
SA1.Cycles += 6; // FIXME
|
#undef CPU
|
||||||
|
int cycles = CPU.Cycles * 3;
|
||||||
|
#define CPU SA1
|
||||||
|
SA1.Cycles = cycles;
|
||||||
S9xSA1UpdateTimer();
|
S9xSA1UpdateTimer();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue