From 211b4902d5b4440b0aa567dade4eebf77cd868aa Mon Sep 17 00:00:00 2001 From: Stephen Anthony Date: Mon, 28 Jul 2025 19:46:03 -0230 Subject: [PATCH] Fix log message being output incorrectly based on log level. --- src/common/main.cxx | 1 - src/emucore/OSystem.cxx | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/main.cxx b/src/common/main.cxx index 73e33ecd3..27237da7c 100644 --- a/src/common/main.cxx +++ b/src/common/main.cxx @@ -235,7 +235,6 @@ int main(int ac, char* av[]) // Create the full OSystem after the settings, since settings are // probably needed for defaults - Logger::log("Creating the OSystem ..."); if(!theOSystem->initialize(globalOpts)) { Logger::error("ERROR: Couldn't create OSystem"); diff --git a/src/emucore/OSystem.cxx b/src/emucore/OSystem.cxx index c81b66251..8c5793c54 100644 --- a/src/emucore/OSystem.cxx +++ b/src/emucore/OSystem.cxx @@ -122,6 +122,8 @@ bool OSystem::initialize(const Settings::Options& options) { loadConfig(options); + Logger::debug("Creating the OSystem ..."); + ostringstream buf; buf << "Stella " << STELLA_VERSION << '\n' << " Features: " << myFeatures << '\n'