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:
parent
4ad86ef180
commit
c74a30b486
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue