mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-16 23:31:40 +00:00
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:
parent
a5904b522d
commit
a0cd753060
12 changed files with 79 additions and 39 deletions
|
@ -127,6 +127,18 @@ std::map<IVolume::ELanguage, std::string> CVolumeWAD::GetNames(bool prefer_long)
|
|||
return ReadWiiNames(name_data);
|
||||
}
|
||||
|
||||
std::vector<u32> CVolumeWAD::GetBanner(int* width, int* height) const
|
||||
{
|
||||
*width = 0;
|
||||
*height = 0;
|
||||
|
||||
u64 title_id;
|
||||
if (!GetTitleID(&title_id))
|
||||
return std::vector<u32>();
|
||||
|
||||
return GetWiiBanner(width, height, title_id);
|
||||
}
|
||||
|
||||
BlobType CVolumeWAD::GetBlobType() const
|
||||
{
|
||||
return m_pReader ? m_pReader->GetBlobType() : BlobType::PLAIN;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue