mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-19 06:45:39 +00:00
GameList: Fix database getting unloaded and lost on double refresh
This commit is contained in:
parent
ff8679cbee
commit
2a8fd2f60b
|
@ -627,7 +627,9 @@ void GameList::Refresh(bool invalidate_cache, bool invalidate_database, Progress
|
|||
// don't need unused cache entries
|
||||
CloseCacheFileStream();
|
||||
m_cache_map.clear();
|
||||
m_database.Unload();
|
||||
|
||||
// we don't need to keep the db around anymore, it's quick enough to re-parse if needed anyway
|
||||
ClearDatabase();
|
||||
}
|
||||
|
||||
void GameList::UpdateCompatibilityEntry(GameListCompatibilityEntry new_entry, bool save_to_list /*= true*/)
|
||||
|
|
Loading…
Reference in a new issue