From b4492abccdca10baceb9effbb6faaca3f57fd9cc Mon Sep 17 00:00:00 2001
From: Leon Styhre <leon@leonstyhre.com>
Date: Sat, 6 Nov 2021 21:43:32 +0100
Subject: [PATCH] Removed the copying of es_settings.cfg to es_settings.xml on
 startup.

---
 es-core/src/Settings.cpp | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/es-core/src/Settings.cpp b/es-core/src/Settings.cpp
index ea25a2dcb..cd3879978 100644
--- a/es-core/src/Settings.cpp
+++ b/es-core/src/Settings.cpp
@@ -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;