From 3544270f586d1984f6d272b8edd43b08934b25a6 Mon Sep 17 00:00:00 2001 From: Stephen Anthony Date: Wed, 8 Nov 2023 19:07:38 -0330 Subject: [PATCH] Fix 'dangling else' warning from clang. --- src/emucore/OSystem.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/emucore/OSystem.cxx b/src/emucore/OSystem.cxx index eb2ec84a4..7eee095c5 100644 --- a/src/emucore/OSystem.cxx +++ b/src/emucore/OSystem.cxx @@ -536,6 +536,7 @@ string OSystem::createConsole(const FSNode& rom, string_view md5sum, bool newrom #endif if(!showmessage) + { if(settings().getBool(devSettings ? "dev.detectedinfo" : "plr.detectedinfo")) { ostringstream msg; @@ -553,6 +554,8 @@ string OSystem::createConsole(const FSNode& rom, string_view md5sum, bool newrom msg << "Stella " << STELLA_VERSION; myFrameBuffer->showTextMessage(msg.str()); } + } + // Check for first PlusROM start if(myConsole->cartridge().isPlusROM()) {