diff --git a/RetroFE/Source/Main.cpp b/RetroFE/Source/Main.cpp index f27af0d..a7eb66a 100644 --- a/RetroFE/Source/Main.cpp +++ b/RetroFE/Source/Main.cpp @@ -122,10 +122,13 @@ bool ImportConfiguration(Configuration *c) DIR *dp; struct dirent *dirp; - std::string settingsConfPath = Utils::combinePath(configPath, "settings.conf"); - if(!c->import("", settingsConfPath)) + std::string settingsConfPath = Utils::combinePath(configPath, "settings"); + c->import("", "", settingsConfPath + "_saved.conf", false); + for ( int i = 9; i > 0; i--) + c->import("", "", settingsConfPath + std::to_string(i) + ".conf", false); + if(!c->import("", settingsConfPath + ".conf")) { - Logger::write(Logger::ZONE_ERROR, "RetroFE", "Could not import \"" + settingsConfPath + "\""); + Logger::write(Logger::ZONE_ERROR, "RetroFE", "Could not import \"" + settingsConfPath + ".conf\""); return false; } diff --git a/RetroFE/Source/Version.cpp b/RetroFE/Source/Version.cpp index 9fb3028..aaf8ec6 100644 --- a/RetroFE/Source/Version.cpp +++ b/RetroFE/Source/Version.cpp @@ -21,7 +21,7 @@ std::string retrofe_version_major = "0"; std::string retrofe_version_minor = "9"; -std::string retrofe_version_build = "8"; +std::string retrofe_version_build = "9"; std::string Version::getString( )