mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-12-24 19:01:56 +01:00
-(hopefully) last change about addition from r183,
now everything should work fine again and a custom folder name should be usable for gc games on usb
This commit is contained in:
parent
e57c20e5d9
commit
7891c2d861
@ -23,9 +23,11 @@ void CachedList<T>::Load(string path, string containing, string m_lastLanguage)
|
||||
|
||||
update_games = strcasestr(path.c_str(), "wbfs") != NULL && force_update[COVERFLOW_USB];
|
||||
update_homebrew = strcasestr(path.c_str(), "apps") != NULL && force_update[COVERFLOW_HOMEBREW];
|
||||
update_dml = strcasestr(path.c_str(), "games") != NULL && force_update[COVERFLOW_DML];
|
||||
|
||||
gprintf("update_games=%d update_homebrew=%d\n", update_games, update_homebrew);
|
||||
const char* partition = DeviceName[DeviceHandler::Instance()->PathToDriveType(path.c_str())];
|
||||
update_dml = strcasestr(path.c_str(), sfmt(strncmp(partition, "sd", 2) != 0 ? m_DMLgameDir.c_str() : "%s:/games", partition).c_str()) != NULL && force_update[COVERFLOW_DML];
|
||||
|
||||
gprintf("update_games=%d update_homebrew=%d update_dml=%d\n", update_games, update_homebrew, update_dml);
|
||||
if(update_games || update_homebrew || update_dml)
|
||||
remove(m_database.c_str());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user