From d1cc7f4a8de14027cd7ad13ae4054700f681baaa Mon Sep 17 00:00:00 2001 From: Stephen Anthony Date: Thu, 6 May 2021 19:56:37 -0230 Subject: [PATCH] Fix minor warning from g++11. --- src/debugger/Debugger.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/debugger/Debugger.cxx b/src/debugger/Debugger.cxx index 39cc5a0ea..c81b4801c 100644 --- a/src/debugger/Debugger.cxx +++ b/src/debugger/Debugger.cxx @@ -455,10 +455,12 @@ void Debugger::log(const string& triggerMsg) msg << "Trigger: Frame Scn Cy Pxl | PS A X Y SP | "; if(myCartDebug->romBankCount() > 1) + { if(myCartDebug->romBankCount() > 9) msg << "Bk/"; else msg << "B/"; + } msg << "Addr Code Disam"; Logger::log(msg.str()); myFirstLog = false;