The legacy es_settings.cfg file is now copied to es_settings.xml instead of being renamed

This commit is contained in:
Leon Styhre 2021-06-20 12:51:32 +02:00
parent 71f1f6806f
commit e27ff24cfe

View file

@ -381,7 +381,7 @@ void Settings::loadFile()
"/.emulationstation/es_settings.xml";
if (Utils::FileSystem::exists(legacyConfigFile) && !Utils::FileSystem::exists(configFile))
Utils::FileSystem::renameFile(legacyConfigFile, configFile, false);
Utils::FileSystem::copyFile(legacyConfigFile, configFile, false);
if (!Utils::FileSystem::exists(configFile))
return;