mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 23:55:38 +00:00
Removed the copying of es_settings.cfg to es_settings.xml on startup.
This commit is contained in:
parent
c673f06eb0
commit
b4492abccd
|
@ -358,16 +358,9 @@ void Settings::saveFile()
|
|||
|
||||
void Settings::loadFile()
|
||||
{
|
||||
// Prior to ES-DE v1.1, the configuration file had the .cfg suffix instead of .xml
|
||||
const std::string legacyConfigFile =
|
||||
Utils::FileSystem::getHomePath() + "/.emulationstation/es_settings.cfg";
|
||||
|
||||
const std::string configFile =
|
||||
Utils::FileSystem::getHomePath() + "/.emulationstation/es_settings.xml";
|
||||
|
||||
if (Utils::FileSystem::exists(legacyConfigFile) && !Utils::FileSystem::exists(configFile))
|
||||
Utils::FileSystem::copyFile(legacyConfigFile, configFile, false);
|
||||
|
||||
if (!Utils::FileSystem::exists(configFile))
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue