mirror of https://github.com/snes9xgit/snes9x.git
Ensure CPU.MemSpeed is correct when CPU.FastROMSpeed changes
This commit is contained in:
parent
c474f081ad
commit
a8ab8bc1ba
2
ppu.cpp
2
ppu.cpp
|
@ -1752,6 +1752,8 @@ void S9xSetCPU (uint8 Byte, uint16 Address)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
CPU.FastROMSpeed = SLOW_ONE_CYCLE;
|
CPU.FastROMSpeed = SLOW_ONE_CYCLE;
|
||||||
|
// we might currently be in FastROMSpeed region, S9xSetPCBase will update CPU.MemSpeed
|
||||||
|
S9xSetPCBase(Registers.PBPC);
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue