GameList: Flush game list after re-scanning

Should hopefully fix random gamelist corruption.
This commit is contained in:
Connor McLaughlin
2020-04-25 15:23:36 +10:00
parent 25af5ef9d9
commit 194fc63232
2 changed files with 11 additions and 0 deletions

View File

@@ -107,6 +107,7 @@ private:
bool LoadEntriesFromCache(ByteStream* stream);
bool OpenCacheForWriting();
bool WriteEntryToCache(const GameListEntry* entry, ByteStream* stream);
void FlushCacheFileStream();
void CloseCacheFileStream();
void DeleteCacheFile();