From a4fa3b5cb5b5a1b2e8fa6bb8f0868cf8d0454313 Mon Sep 17 00:00:00 2001 From: tomcw Date: Sat, 5 Apr 2025 09:27:50 +0100 Subject: [PATCH] Debugger: fix Ramworks3's bank display number (fixes #1393) --- source/Debugger/Debugger_Display.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Debugger/Debugger_Display.cpp b/source/Debugger/Debugger_Display.cpp index 339ad7c8..2aef7b82 100644 --- a/source/Debugger/Debugger_Display.cpp +++ b/source/Debugger/Debugger_Display.cpp @@ -2606,7 +2606,7 @@ void _DrawSoftSwitchLanguageCardBank( RECT & rect, const int iBankDisplay, int b PrintTextCursorX( sMemType, rect ); DebuggerSetColorFG( DebuggerGetColor( FG_INFO_ADDRESS )); // orange - PrintTextCursorX( ByteToHexStr( iActiveBank & 0x7F ).c_str(), rect ); + PrintTextCursorX( ByteToHexStr( iActiveBank & 0xFF ).c_str(), rect ); } else {