mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2025-12-31 02:58:51 +01:00
Reverted ITEM_COLLECTION_NAME, yet again, caused bugs when preloading.
This commit is contained in:
parent
2d188fd2b2
commit
ba7a5ebfb9
@ -133,8 +133,11 @@ bool Configuration::parseLine(std::string collection, std::string keyPrefix, std
|
||||
|
||||
value = line.substr(position + delimiter.length(), line.length());
|
||||
value = trimEnds(value);
|
||||
value = Utils::replace(value, "%ITEM_COLLECTION_NAME%", collection);
|
||||
|
||||
if(collection != "")
|
||||
{
|
||||
value = Utils::replace(value, "%ITEM_COLLECTION_NAME%", collection);
|
||||
}
|
||||
properties_.insert(PropertiesPair(key, value));
|
||||
|
||||
std::stringstream ss;
|
||||
|
||||
@ -115,7 +115,7 @@ bool ImportConfiguration(Configuration *c)
|
||||
|
||||
std::string importFile = Utils::combinePath(launchersPath, std::string(dirp->d_name));
|
||||
|
||||
if(!c->import(basename, prefix, importFile))
|
||||
if(!c->import(prefix, importFile))
|
||||
{
|
||||
Logger::write(Logger::ZONE_ERROR, "RetroFE", "Could not import \"" + importFile + "\"");
|
||||
closedir(dp);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user