mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-04-10 19:15:13 +00:00
Updated a log warning about extensionless files.
This commit is contained in:
parent
d9e2e41117
commit
cfdfe3e6e0
|
@ -39,7 +39,7 @@ namespace GamelistFileParser
|
||||||
|
|
||||||
while (path_it != pathList.end()) {
|
while (path_it != pathList.end()) {
|
||||||
// Workaround for an extremely rare issue that can basically only happen if a dot (.)
|
// Workaround for an extremely rare issue that can basically only happen if a dot (.)
|
||||||
// has been defined as a valid extension for the system (meaning extension-less files
|
// has been defined as a valid extension for the system (meaning extensionless files
|
||||||
// are loaded), in combination with the "Only show ROMs from gamelist.xml files" option
|
// are loaded), in combination with the "Only show ROMs from gamelist.xml files" option
|
||||||
// being enabled and a stale entry being present in the gamelist.xml file that perfectly
|
// being enabled and a stale entry being present in the gamelist.xml file that perfectly
|
||||||
// matches a folder which is actually in use. The workaround is not a perfect solution
|
// matches a folder which is actually in use. The workaround is not a perfect solution
|
||||||
|
@ -47,7 +47,7 @@ namespace GamelistFileParser
|
||||||
if (treeNode->getType() != FOLDER) {
|
if (treeNode->getType() != FOLDER) {
|
||||||
LOG(LogWarning)
|
LOG(LogWarning)
|
||||||
<< "Invalid gamelist entry caused by folder having the same name as a stale "
|
<< "Invalid gamelist entry caused by folder having the same name as a stale "
|
||||||
<< "extension-less game file (this may cause undefined behavior):";
|
<< "extensionless game file (this may cause undefined behavior):";
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue