summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Src/ISOFile.cpp
diff options
context:
space:
mode:
authorLPFaint99 <lpfaint99@gmail.com>2009-04-28 02:30:50 +0000
committerLPFaint99 <lpfaint99@gmail.com>2009-04-28 02:30:50 +0000
commitf852ea41c4ee1b74e8130e6fe3bb1700c06c45c8 (patch)
treeec1affc71bb5cd2e414bd4f6bf050d34196e30f9 /Source/Core/DolphinWX/Src/ISOFile.cpp
parentdaf17ed27f1c4d5b5da700d2106d475b95f64f9a (diff)
Add the option to filter gamelist
add a drive command that I have only seen with gcos multigame discs that allows them to boot, otherwise they will hang add a default path for browse in memcard manager fixed display of format time in MCMdebug.cpp git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3098 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DolphinWX/Src/ISOFile.cpp')
-rw-r--r--Source/Core/DolphinWX/Src/ISOFile.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/Src/ISOFile.cpp b/Source/Core/DolphinWX/Src/ISOFile.cpp
index 9ae7dbdb3b..e928d46903 100644
--- a/Source/Core/DolphinWX/Src/ISOFile.cpp
+++ b/Source/Core/DolphinWX/Src/ISOFile.cpp
@@ -32,7 +32,7 @@
#include "ChunkFile.h"
#include "../resources/no_banner.cpp"
-#define CACHE_REVISION 0x107
+#define CACHE_REVISION 0x108
#define DVD_BANNER_WIDTH 96
#define DVD_BANNER_HEIGHT 32
@@ -168,6 +168,7 @@ void GameListItem::DoState(PointerWrap &p)
p.Do(m_Country);
p.Do(m_BlobCompressed);
p.DoBuffer(&m_pImage, m_ImageSize);
+ p.Do(m_IsWii);
}
std::string GameListItem::CreateCacheFilename()
@@ -175,6 +176,7 @@ std::string GameListItem::CreateCacheFilename()
std::string Filename;
SplitPath(m_FileName, NULL, &Filename, NULL);
+ if (Filename.empty()) return Filename; // Disc Drive
// We add gcz to the cache file if the file is compressed to avoid it reading
// the uncompressed file's cache if it has the same name, but not the same ext.
if (DiscIO::IsCompressedBlob(m_FileName.c_str()))
@@ -203,3 +205,4 @@ const std::string& GameListItem::GetName(int index) const
}
return m_Name[0];
}
+