mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-01 00:55:06 +01:00
Simplify troubleshooting of games that are
supposedly not found by logging the files that are skipped according to the RegEx.
This commit is contained in:
parent
5415c95fef
commit
c49df74c65
@ -46,6 +46,7 @@ void ListGenerator::Init(const char *settingsDir, const char *Language,
|
|||||||
if(Language != NULL) gameTDB_Language = Language;
|
if(Language != NULL) gameTDB_Language = Language;
|
||||||
if(plgnsDataDir != NULL) pluginsDataDir = fmt("%s", plgnsDataDir);
|
if(plgnsDataDir != NULL) pluginsDataDir = fmt("%s", plgnsDataDir);
|
||||||
|
|
||||||
|
gprintf("ListGenerator: fileNameSkipPattern=%s\n", fileNameSkipPattern.c_str());
|
||||||
fileNameSkipRegex = std::regex(fileNameSkipPattern,
|
fileNameSkipRegex = std::regex(fileNameSkipPattern,
|
||||||
std::regex_constants::extended |
|
std::regex_constants::extended |
|
||||||
std::regex_constants::icase);
|
std::regex_constants::icase);
|
||||||
@ -276,7 +277,7 @@ static void Add_Plugin_Game(char *FullPath)
|
|||||||
|
|
||||||
if (std::regex_search(std::string(FullPath), fileNameSkipRegex))
|
if (std::regex_search(std::string(FullPath), fileNameSkipRegex))
|
||||||
{
|
{
|
||||||
//gprintf("Add_Plugin_Game: skipping '%s'\n", FullPath);
|
gprintf("Add_Plugin_Game: skipping '%s'\n", FullPath);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user