small fix - games without banners aren't cached anymore so wii banners will be shown correctly

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1076 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
fires.gc
2008-11-05 19:07:38 +00:00
parent 4e4bbdfa45
commit 4aed4eb1c7
2 changed files with 8 additions and 7 deletions

View File

@ -32,7 +32,7 @@
#include "ChunkFile.h"
#include "../resources/no_banner.cpp"
#define CACHE_REVISION 0x103
#define CACHE_REVISION 0x104
#define DVD_BANNER_WIDTH 96
#define DVD_BANNER_HEIGHT 32
@ -104,7 +104,10 @@ GameListItem::GameListItem(const std::string& _rFileName)
m_Valid = true;
SaveToCache();
// just if we have an image create a cache file
// Wii isos create their images after you have generated the first savegame
if (m_pImage)
SaveToCache();
}
}