diff options
| author | fires.gc <fires.gc@gmail.com> | 2008-11-05 19:07:38 +0000 |
|---|---|---|
| committer | fires.gc <fires.gc@gmail.com> | 2008-11-05 19:07:38 +0000 |
| commit | 4aed4eb1c72fe63d22e7499c878a7264aaeefbbe (patch) | |
| tree | 64ab743e52dc8723dbb151921e8282c9d3d3ac21 /Source/Core/DolphinWX/Src/ISOFile.cpp | |
| parent | 4e4bbdfa457d660d56abd1a71fe7cdd8e1e286e7 (diff) | |
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
Diffstat (limited to 'Source/Core/DolphinWX/Src/ISOFile.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/Src/ISOFile.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/Core/DolphinWX/Src/ISOFile.cpp b/Source/Core/DolphinWX/Src/ISOFile.cpp index 48176b028c..d1d2c0ec3b 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 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();
}
}
|
