6502: RTS IncPc micro-op should perform a read at PC and discard the result.

This commit is contained in:
Tony Konzel 2016-06-22 15:09:57 -05:00
parent 627197aac6
commit d518db2d14
1 changed files with 7 additions and 2 deletions

View File

@ -2109,8 +2109,13 @@ namespace BizHawk.Emulation.Cores.Components.M6502
}
void IncPC()
{
PC++;
}
rdy_freeze = !RDY;
if (RDY)
{
ReadMemory(PC);
PC++;
}
}
void ZP_RMW_Stage3()
{
rdy_freeze = !RDY;