mirror of
https://codeberg.org/sethm/symon.git
synced 2026-11-08 19:22:23 +00:00
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) {
|
if (videoWindow != null && stepsSinceLastCrtcRefresh++ > stepsBetweenCrtcRefreshes) {
|
||||||
stepsSinceLastCrtcRefresh = 0;
|
stepsSinceLastCrtcRefresh = 0;
|
||||||
|
if (videoWindow.isVisible()) {
|
||||||
|
videoWindow.repaint();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// This is a very expensive update, and we're doing it without
|
// This is a very expensive update, and we're doing it without
|
||||||
|
|||||||
Reference in new issue
Block a user