Ensure CPU.MemSpeed is correct when CPU.FastROMSpeed changes

This commit is contained in:
OV2 2018-08-25 19:17:57 +02:00
parent c474f081ad
commit a8ab8bc1ba
1 changed files with 2 additions and 0 deletions

View File

@ -1752,6 +1752,8 @@ void S9xSetCPU (uint8 Byte, uint16 Address)
}
else
CPU.FastROMSpeed = SLOW_ONE_CYCLE;
// we might currently be in FastROMSpeed region, S9xSetPCBase will update CPU.MemSpeed
S9xSetPCBase(Registers.PBPC);
}
break;