From 3a4827e0b819a55969f1e5efd3b5b9ecdb209203 Mon Sep 17 00:00:00 2001 From: Christian Speckner Date: Tue, 22 Nov 2016 21:56:12 +0100 Subject: [PATCH] Add a missing line cache invalidation -> fixes bang! plasma field. --- src/emucore/tia/core_6502ts/TIA.cxx | 2 ++ 1 file changed, 2 insertions(+) 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;