Fix for issue 831, add .gcz to the cache file of compressed iso and corrected fullscreen tool tip message

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2929 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
sl1nk3.s
2009-04-08 16:38:41 +00:00
parent 7dccebfef2
commit 5c56066519
5 changed files with 14 additions and 10 deletions

View File

@ -172,6 +172,11 @@ std::string GameListItem::CreateCacheFilename()
{
std::string Filename;
SplitPath(m_FileName, NULL, &Filename, NULL);
// 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()))
Filename.append(".gcz");
Filename.append(".cache");
std::string fullname(FULL_CACHE_DIR);