mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-26 08:05:38 +00:00
Merge pull request #491 from tomaz82/fix_custom_collections
Fix missing / in custom collection path
This commit is contained in:
commit
8c0b00c490
|
@ -1035,12 +1035,12 @@ bool CollectionSystemManager::includeFileInAutoCollections(FileData* file)
|
|||
|
||||
std::string getCustomCollectionConfigPath(std::string collectionName)
|
||||
{
|
||||
return getCollectionsFolder() + "custom-" + collectionName + ".cfg";;
|
||||
return getCollectionsFolder() + "/custom-" + collectionName + ".cfg";
|
||||
}
|
||||
|
||||
std::string getCollectionsFolder()
|
||||
{
|
||||
return Utils::FileSystem::getGenericPath(Utils::FileSystem::getHomePath() + "/.emulationstation/collections/");
|
||||
return Utils::FileSystem::getGenericPath(Utils::FileSystem::getHomePath() + "/.emulationstation/collections");
|
||||
}
|
||||
|
||||
bool systemSort(SystemData* sys1, SystemData* sys2)
|
||||
|
|
Loading…
Reference in a new issue