Don't do anything when write to $4200 is the same.

This commit is contained in:
Brandon Wright 2018-06-05 11:58:38 -05:00
parent 534971722c
commit db1d524917
1 changed files with 3 additions and 0 deletions

View File

@ -1551,6 +1551,9 @@ void S9xSetCPU (uint8 Byte, uint16 Address)
S9xTraceFormattedMessage("Write to 0x4200. Byte is %2x was %2x\n", Byte, Memory.FillRAM[Address]);
#endif
if (Byte == Memory.FillRAM[0x4200])
break;
if (Byte & 0x20)
{
PPU.VTimerEnabled = TRUE;