Prevent repeated screen clearing during VGA redraws
authorRobert Pengelly <robertapengelly@hotmail.com>
Sun, 25 Oct 2026 02:43:07 +0000 (02:43 +0000)
committerRobert Pengelly <robertapengelly@hotmail.com>
Sun, 25 Oct 2026 02:43:07 +0000 (02:43 +0000)
interrupts.c

index bc1cb3c94d19d96b7a8e20680f8feef4ee4898e7..703dfcbe1ec604da6ec7495139810457022b9e08 100644 (file)
@@ -9661,7 +9661,7 @@ static void bios_graphics_refresh (CPU8086 *cpu) {
     }
 #endif
     
-    if (full_redraw) {
+    if (!bios_graphics_visible) {
         fputs ("\033[0m\033[2J\033[?25l\033[?7l", stdout);
     }