mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Gamelist loading speedup: Be lazy about parsing the file system - it's not necessary for Wii games since the banners are external (in savegames). Also make it possible for the gamelist code to create cache entries for GC images without banners.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5595 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -46,7 +46,6 @@ GameListItem::GameListItem(const std::string& _rFileName)
|
||||
, m_pImage(NULL)
|
||||
, m_ImageSize(0)
|
||||
{
|
||||
|
||||
if (LoadFromCache())
|
||||
{
|
||||
m_Valid = true;
|
||||
@ -119,9 +118,9 @@ GameListItem::GameListItem(const std::string& _rFileName)
|
||||
|
||||
m_Valid = true;
|
||||
|
||||
// just if we have an image create a cache file
|
||||
// If not Gamecube, create a cache file only if we have an image.
|
||||
// Wii isos create their images after you have generated the first savegame
|
||||
if (m_pImage)
|
||||
if (m_Platform == GAMECUBE_DISC || m_pImage)
|
||||
SaveToCache();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user