Fix missing repaint on Video Window
This commit is contained in:
1 parent
742e3a1027
commit
e157217f50
1 file changed
+3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user