mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Merge pull request #2829 from JosJuice/fix-wii-fst-size-2
Fix reading Wii FST size (for real this time)
This commit is contained in:
@ -208,7 +208,7 @@ std::map<IVolume::ELanguage, std::string> CVolumeWiiCrypted::GetNames(bool prefe
|
||||
return ReadWiiNames(opening_bnr);
|
||||
}
|
||||
|
||||
u32 CVolumeWiiCrypted::GetFSTSize() const
|
||||
u64 CVolumeWiiCrypted::GetFSTSize() const
|
||||
{
|
||||
if (m_pReader == nullptr)
|
||||
return 0;
|
||||
@ -218,7 +218,7 @@ u32 CVolumeWiiCrypted::GetFSTSize() const
|
||||
if (!Read(0x428, 0x4, (u8*)&size, true))
|
||||
return 0;
|
||||
|
||||
return Common::swap32(size);
|
||||
return (u64)Common::swap32(size) << 2;
|
||||
}
|
||||
|
||||
std::string CVolumeWiiCrypted::GetApploaderDate() const
|
||||
|
Reference in New Issue
Block a user