mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-16 20:15:38 +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();
|
||||
#else
|
||||
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 =
|
||||
getHomePathSTD().append(".emulationstation");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue