mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 23:55:38 +00:00
The legacy es_settings.cfg file is now copied to es_settings.xml instead of being renamed
This commit is contained in:
parent
71f1f6806f
commit
e27ff24cfe
|
@ -381,7 +381,7 @@ void Settings::loadFile()
|
||||||
"/.emulationstation/es_settings.xml";
|
"/.emulationstation/es_settings.xml";
|
||||||
|
|
||||||
if (Utils::FileSystem::exists(legacyConfigFile) && !Utils::FileSystem::exists(configFile))
|
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))
|
if (!Utils::FileSystem::exists(configFile))
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue