diff --git a/src/emucore/tia/core_6502ts/TIA.cxx b/src/emucore/tia/core_6502ts/TIA.cxx index a906b369b..cc23b3548 100644 --- a/src/emucore/tia/core_6502ts/TIA.cxx +++ b/src/emucore/tia/core_6502ts/TIA.cxx @@ -175,6 +175,7 @@ bool TIA::poke(uInt16 address, uInt8 value) break; case VBLANK: + myLinesSinceChange = 0; myFrameManager.setVblank(value & 0x02); break; @@ -192,6 +193,7 @@ bool TIA::poke(uInt16 address, uInt8 value) break; case COLUBK: + myLinesSinceChange = 0; myColorBk = value & 0xFE; break;