mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-04-10 19:15:13 +00:00
The .emulationstation directory is now ignored if there is already an ES-DE directory
This commit is contained in:
parent
361bf832e1
commit
946a783100
|
@ -319,7 +319,11 @@ namespace Utils
|
||||||
return getHomePathSTD();
|
return getHomePathSTD();
|
||||||
#else
|
#else
|
||||||
if (FileSystemVariables::sAppDataDirectory.empty()) {
|
if (FileSystemVariables::sAppDataDirectory.empty()) {
|
||||||
if (Utils::FileSystem::existsSTD(getHomePathSTD().append(".emulationstation"))) {
|
if (Utils::FileSystem::existsSTD(getHomePathSTD().append("ES-DE"))) {
|
||||||
|
FileSystemVariables::sAppDataDirectory = getHomePathSTD().append("ES-DE");
|
||||||
|
}
|
||||||
|
else if (Utils::FileSystem::existsSTD(
|
||||||
|
getHomePathSTD().append(".emulationstation"))) {
|
||||||
FileSystemVariables::sAppDataDirectory =
|
FileSystemVariables::sAppDataDirectory =
|
||||||
getHomePathSTD().append(".emulationstation");
|
getHomePathSTD().append(".emulationstation");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue