Debugger: fix viewing TEXT80 page2

This commit is contained in:
tomcw 2025-01-05 15:05:40 +00:00
parent 2e1bc77ce3
commit c140453a20

View File

@ -4980,7 +4980,7 @@ size_t Util_GetTextScreen ( char* &pText_ )
g_nTextScreen = 0;
memset( pBeg, 0, sizeof( g_aTextScreen ) );
unsigned int uBank2 = GetVideo().VideoGetSWPAGE2() ? 1 : 0;
const unsigned int uBank2 = (!GetVideo().VideoGetSW80STORE() && GetVideo().VideoGetSWPAGE2()) ? 1 : 0;
LPBYTE g_pTextBank1 = MemGetAuxPtr (0x400 << uBank2);
LPBYTE g_pTextBank0 = MemGetMainPtr(0x400 << uBank2);