mirror of https://github.com/stella-emu/stella.git
Fix log message being output incorrectly based on log level.
This commit is contained in:
parent
d2cb9d3011
commit
211b4902d5
|
@ -235,7 +235,6 @@ int main(int ac, char* av[])
|
||||||
|
|
||||||
// Create the full OSystem after the settings, since settings are
|
// Create the full OSystem after the settings, since settings are
|
||||||
// probably needed for defaults
|
// probably needed for defaults
|
||||||
Logger::log("Creating the OSystem ...");
|
|
||||||
if(!theOSystem->initialize(globalOpts))
|
if(!theOSystem->initialize(globalOpts))
|
||||||
{
|
{
|
||||||
Logger::error("ERROR: Couldn't create OSystem");
|
Logger::error("ERROR: Couldn't create OSystem");
|
||||||
|
|
|
@ -122,6 +122,8 @@ bool OSystem::initialize(const Settings::Options& options)
|
||||||
{
|
{
|
||||||
loadConfig(options);
|
loadConfig(options);
|
||||||
|
|
||||||
|
Logger::debug("Creating the OSystem ...");
|
||||||
|
|
||||||
ostringstream buf;
|
ostringstream buf;
|
||||||
buf << "Stella " << STELLA_VERSION << '\n'
|
buf << "Stella " << STELLA_VERSION << '\n'
|
||||||
<< " Features: " << myFeatures << '\n'
|
<< " Features: " << myFeatures << '\n'
|
||||||
|
|
Loading…
Reference in New Issue