From e7037212715abb8df00ddc5c1f0afb89ca69fe33 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Fri, 8 Dec 2023 11:02:41 -0500 Subject: [PATCH] Tie snow avoidance to avoiding DEN. --- Machines/PCCompatible/CGA.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Machines/PCCompatible/CGA.hpp b/Machines/PCCompatible/CGA.hpp index 85a061159..34c544c03 100644 --- a/Machines/PCCompatible/CGA.hpp +++ b/Machines/PCCompatible/CGA.hpp @@ -67,7 +67,7 @@ class CGA { // b1: 1 => positive edge from light pen has set trigger; // b0: 1 => safe to write to VRAM now without causing snow. (crtc_.get_bus_state().vsync ? 0b1001 : 0b0000) | - (crtc_.get_bus_state().hsync ? 0b0001 : 0b0000) | + (crtc_.get_bus_state().display_enable ? 0b0000 : 0b0001) | 0b0100; default: return 0xff;