Make sure properties database is correctly read on startup (fixes #475).

This commit is contained in:
Stephen Anthony 2019-06-08 18:17:25 -02:30
parent 4a8f2f80b6
commit 4745b6a240
1 changed files with 4 additions and 4 deletions

View File

@ -125,9 +125,6 @@ OSystem::~OSystem()
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
bool OSystem::create()
{
// Get updated paths for all configuration files
setConfigPaths();
ostringstream buf;
buf << "Stella " << STELLA_VERSION << endl
<< " Features: " << myFeatures << endl
@ -187,6 +184,8 @@ bool OSystem::create()
myPNGLib = make_unique<PNGLibrary>(*this);
#endif
myPropSet->load(myPropertiesFile);
return true;
}
@ -227,7 +226,8 @@ void OSystem::loadConfig(const Settings::Options& options)
mySettings->load(options);
mySettingsLoaded = true;
myPropSet->load(myPropertiesFile);
// Get updated paths for all configuration files
setConfigPaths();
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -