mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
(Android) Fixed an issue where the wrong system configuration files were selected
This commit is contained in:
parent
8ab3697c10
commit
9b96e4b69f
|
@ -49,12 +49,12 @@ void FindRules::loadFindRules()
|
|||
LOG(LogInfo) << "Found custom find rules configuration file";
|
||||
}
|
||||
|
||||
#if defined(__linux__)
|
||||
filePath =
|
||||
ResourceManager::getInstance().getResourcePath(":/systems/linux/es_find_rules.xml", false);
|
||||
#elif defined(__ANDROID__)
|
||||
#if defined(__ANDROID__)
|
||||
filePath = ResourceManager::getInstance().getResourcePath(":/systems/android/es_find_rules.xml",
|
||||
false);
|
||||
#elif defined(__linux__)
|
||||
filePath =
|
||||
ResourceManager::getInstance().getResourcePath(":/systems/linux/es_find_rules.xml", false);
|
||||
#elif defined(_WIN64)
|
||||
filePath = ResourceManager::getInstance().getResourcePath(":/systems/windows/es_find_rules.xml",
|
||||
false);
|
||||
|
@ -976,10 +976,10 @@ std::vector<std::string> SystemData::getConfigPath()
|
|||
paths.emplace_back(path);
|
||||
}
|
||||
|
||||
#if defined(__linux__)
|
||||
path = ResourceManager::getInstance().getResourcePath(":/systems/linux/es_systems.xml", true);
|
||||
#elif defined(__ANDROID__)
|
||||
#if defined(__ANDROID__)
|
||||
path = ResourceManager::getInstance().getResourcePath(":/systems/android/es_systems.xml", true);
|
||||
#elif defined(__linux__)
|
||||
path = ResourceManager::getInstance().getResourcePath(":/systems/linux/es_systems.xml", true);
|
||||
#elif defined(_WIN64)
|
||||
path = ResourceManager::getInstance().getResourcePath(":/systems/windows/es_systems.xml", true);
|
||||
#elif defined(__APPLE__)
|
||||
|
|
Loading…
Reference in a new issue