Don't read from volume when reloading Wii banners

Should make loading cached Wii games that lack banners slightly faster.
This commit is contained in:
JosJuice
2015-12-03 17:29:59 +01:00
parent a5904b522d
commit a0cd753060
12 changed files with 79 additions and 39 deletions

View File

@ -65,6 +65,7 @@ private:
std::string m_company;
std::string m_UniqueID;
u64 m_title_id;
std::string m_issues;
int m_emu_state;
@ -95,7 +96,7 @@ private:
std::string CreateCacheFilename() const;
// Outputs to m_pImage
void ReadVolumeBanner(const DiscIO::IVolume& volume);
void ReadVolumeBanner(const std::vector<u32>& buffer, int width, int height);
// Outputs to m_Bitmap
bool ReadPNGBanner(const std::string& path);