From 3d5fd0489e131106044c34f51efb32929092cc81 Mon Sep 17 00:00:00 2001
From: xlar54 <scott.hutter@gmail.com>
Date: Wed, 19 Jun 2024 23:52:25 -0500
Subject: [PATCH] replaced constant

---
 libsrc/cx16/tgi/cx640p1.s | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libsrc/cx16/tgi/cx640p1.s b/libsrc/cx16/tgi/cx640p1.s
index 93d5cb698..287160f6b 100644
--- a/libsrc/cx16/tgi/cx640p1.s
+++ b/libsrc/cx16/tgi/cx640p1.s
@@ -291,7 +291,7 @@ CLEAR:
         sta     VERA::CTRL
 
         ; set FX off (cache write bit 1 -> 0)
-        stz     $9F29                   ;VERA_FX_CTRL
+        stz     VERA::DISP::VIDEO        ; VERA_FX_CTRL when DCSEL=2
         stz     VERA::CTRL
 
         .endscope