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
This commit is contained in:
LPFaint99
2009-04-28 02:30:50 +00:00
parent daf17ed27f
commit f852ea41c4
11 changed files with 153 additions and 22 deletions

View File

@ -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];
}