mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
bugfix - GameListItem hasn't created the ISOCache folder
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1059 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -136,6 +136,11 @@ bool GameListItem::LoadFromCache()
|
|||||||
|
|
||||||
void GameListItem::SaveToCache()
|
void GameListItem::SaveToCache()
|
||||||
{
|
{
|
||||||
|
if (!File::IsDirectory("ISOCache"))
|
||||||
|
{
|
||||||
|
File::CreateDir("ISOCache");
|
||||||
|
}
|
||||||
|
|
||||||
CChunkFileReader::Save<GameListItem>(CreateCacheFilename(), CACHE_REVISION, *this);
|
CChunkFileReader::Save<GameListItem>(CreateCacheFilename(), CACHE_REVISION, *this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user