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:
fires.gc 2008-11-03 15:20:23 +00:00
parent 4ad86ef180
commit c74a30b486
1 changed files with 5 additions and 0 deletions

View File

@ -136,6 +136,11 @@ bool GameListItem::LoadFromCache()
void GameListItem::SaveToCache()
{
if (!File::IsDirectory("ISOCache"))
{
File::CreateDir("ISOCache");
}
CChunkFileReader::Save<GameListItem>(CreateCacheFilename(), CACHE_REVISION, *this);
}