mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
DolphinQt: Implement "Purge Game List Cache"
This is a missing feature from DolphinWX.
This commit is contained in:
@ -58,8 +58,11 @@ size_t GameFileCache::GetSize() const
|
||||
return m_cached_files.size();
|
||||
}
|
||||
|
||||
void GameFileCache::Clear()
|
||||
void GameFileCache::Clear(DeleteOnDisk delete_on_disk)
|
||||
{
|
||||
if (delete_on_disk != DeleteOnDisk::No)
|
||||
File::Delete(m_path);
|
||||
|
||||
m_cached_files.clear();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user