From 82f6bf35a5c7a3cf24b5aa74d97cab77a097081b Mon Sep 17 00:00:00 2001 From: tomcw Date: Thu, 19 Dec 2019 20:45:55 +0000 Subject: [PATCH] Debugger: GR/HGR/DGR/DHGR cmds should honour the MIXED mode. (Fixes #740) --- source/Debugger/Debug.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/Debugger/Debug.cpp b/source/Debugger/Debug.cpp index 0d463108..8aa13f67 100644 --- a/source/Debugger/Debug.cpp +++ b/source/Debugger/Debug.cpp @@ -6898,10 +6898,14 @@ Update_t _ViewOutput( ViewVideoPage_t iPage, int bVideoModeFlags ) { switch( iPage ) { - case VIEW_PAGE_X: bVideoModeFlags |= !VideoGetSWPAGE2() ? 0 : VF_PAGE2; break; // Page Current + case VIEW_PAGE_X: + bVideoModeFlags |= !VideoGetSWPAGE2() ? 0 : VF_PAGE2; + bVideoModeFlags |= !VideoGetSWMIXED() ? 0 : VF_MIXED; + break; // Page Current & current MIXED state case VIEW_PAGE_1: bVideoModeFlags |= 0; break; // Page 1 case VIEW_PAGE_2: bVideoModeFlags |= VF_PAGE2; break; // Page 2 default: + _ASSERT(0); break; }