Only create a GameListItem cache if the image is valid.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7406 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
66632f0645
commit
63ed047aef
|
@ -121,9 +121,9 @@ GameListItem::GameListItem(const std::string& _rFileName)
|
||||||
|
|
||||||
m_Valid = true;
|
m_Valid = true;
|
||||||
|
|
||||||
// If not Gamecube, create a cache file only if we have an image.
|
// Create a cache file only if we have an image.
|
||||||
// Wii isos create their images after you have generated the first savegame
|
// Wii isos create their images after you have generated the first savegame
|
||||||
if (m_Platform == GAMECUBE_DISC || !m_pImage.empty())
|
if (!m_pImage.empty())
|
||||||
SaveToCache();
|
SaveToCache();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue