mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 09:09:52 -06:00
**Refresh** and **Purge Game List Cache** now correctly enabled/disabled as notified by GameListRefreshRequested and GameListRefreshCompleted.
This commit is contained in:
@ -156,6 +156,7 @@ void GameTracker::StartInternal()
|
||||
m_cache.Save();
|
||||
|
||||
QueueOnObject(this, [] { Settings::Instance().NotifyMetadataRefreshComplete(); });
|
||||
QueueOnObject(this, [] { Settings::Instance().NotifyRefreshGameListComplete(); });
|
||||
}
|
||||
|
||||
bool GameTracker::AddPath(const QString& dir)
|
||||
@ -347,5 +348,5 @@ void GameTracker::LoadGame(const QString& path)
|
||||
void GameTracker::PurgeCache()
|
||||
{
|
||||
m_load_thread.EmplaceItem(Command{CommandType::PurgeCache, {}});
|
||||
RefreshAll();
|
||||
Settings::Instance().RefreshGameList();
|
||||
}
|
||||
|
Reference in New Issue
Block a user