diff options
| author | fires.gc <fires.gc@gmail.com> | 2008-11-03 15:20:23 +0000 |
|---|---|---|
| committer | fires.gc <fires.gc@gmail.com> | 2008-11-03 15:20:23 +0000 |
| commit | c74a30b486d3e1990f1b0187a385c65e39b77658 (patch) | |
| tree | 4cbc8855d31fbb7b8be793c8b6f89ba792a406b0 /Source/Core | |
| parent | 4ad86ef18087dc92b8ce3f12e199c701e014492d (diff) | |
bugfix - GameListItem hasn't created the ISOCache folder
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1059 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DolphinWX/Src/ISOFile.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/DolphinWX/Src/ISOFile.cpp b/Source/Core/DolphinWX/Src/ISOFile.cpp index cf520939e1..48176b028c 100644 --- a/Source/Core/DolphinWX/Src/ISOFile.cpp +++ b/Source/Core/DolphinWX/Src/ISOFile.cpp @@ -136,6 +136,11 @@ bool GameListItem::LoadFromCache() void GameListItem::SaveToCache()
{
+ if (!File::IsDirectory("ISOCache"))
+ {
+ File::CreateDir("ISOCache");
+ }
+
CChunkFileReader::Save<GameListItem>(CreateCacheFilename(), CACHE_REVISION, *this);
}
|
