From e157217f50d63f66da2ef7e7e399ef0af28c0996 Mon Sep 17 00:00:00 2001 From: Seth Morabito Date: Wed, 13 Aug 2014 15:46:20 -0700 Subject: [PATCH] Fix missing repaint on Video Window --- src/main/java/com/loomcom/symon/Simulator.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/loomcom/symon/Simulator.java b/src/main/java/com/loomcom/symon/Simulator.java index d8e3686..128f3a4 100644 --- a/src/main/java/com/loomcom/symon/Simulator.java +++ b/src/main/java/com/loomcom/symon/Simulator.java @@ -364,6 +364,9 @@ public class Simulator { if (videoWindow != null && stepsSinceLastCrtcRefresh++ > stepsBetweenCrtcRefreshes) { stepsSinceLastCrtcRefresh = 0; + if (videoWindow.isVisible()) { + videoWindow.repaint(); + } } // This is a very expensive update, and we're doing it without