yuzu: Clear partial/full game list cache when data is updated
This commit is contained in:
parent
f95bdb5088
commit
944c07ac7d
2 changed files with 13 additions and 0 deletions
|
@ -1396,6 +1396,9 @@ void GMainWindow::OnMenuInstallToNAND() {
|
|||
tr("The file was successfully installed."));
|
||||
game_list->PopulateAsync(UISettings::values.game_directory_path,
|
||||
UISettings::values.game_directory_deepscan);
|
||||
// Clear the game list cache.
|
||||
FileUtil::DeleteDirRecursively(FileUtil::GetUserPath(FileUtil::UserPath::CacheDir) +
|
||||
DIR_SEP + "game_list");
|
||||
};
|
||||
|
||||
const auto failed = [this]() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue