Debugger: GR/HGR/DGR/DHGR cmds should honour the MIXED mode. (Fixes #740)

This commit is contained in:
tomcw 2019-12-19 20:45:55 +00:00
parent 769d4c6927
commit 82f6bf35a5
1 changed files with 5 additions and 1 deletions

View File

@ -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;
}