Fix minor warning from g++11.

This commit is contained in:
Stephen Anthony 2021-05-06 19:56:37 -02:30
parent 4ce6c978d3
commit d1cc7f4a8d
1 changed files with 2 additions and 0 deletions

View File

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