Fix 'dangling else' warning from clang.

This commit is contained in:
Stephen Anthony 2023-11-08 19:07:38 -03:30
parent d6224a8a6e
commit 3544270f58
1 changed files with 3 additions and 0 deletions

View File

@ -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())
{