diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2017-07-08 15:28:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-08 15:28:29 +0200 |
| commit | d6dd0e4687bbb8b92448829808d9043e6bfb861a (patch) | |
| tree | 94450758fb00f89cdf2153a61bd12231843302f0 /Source/Core/DiscIO/DiscExtractor.cpp | |
| parent | d0fb1bc4bf998b32ec036ed75eaf8dfb2f120356 (diff) | |
| parent | edc7a4c89586372e66aee557afaea0a35ce2e203 (diff) | |
Merge pull request #5766 from JosJuice/fst-u32
Fix reading FSTs for multi-disc games
Diffstat (limited to 'Source/Core/DiscIO/DiscExtractor.cpp')
| -rw-r--r-- | Source/Core/DiscIO/DiscExtractor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/DiscExtractor.cpp b/Source/Core/DiscIO/DiscExtractor.cpp index b56f120a67..1220aadd50 100644 --- a/Source/Core/DiscIO/DiscExtractor.cpp +++ b/Source/Core/DiscIO/DiscExtractor.cpp @@ -306,7 +306,7 @@ std::optional<u64> GetFSTSize(const Volume& volume, const Partition& partition) if (!IsDisc(volume_type)) return {}; - const std::optional<u32> size = volume.ReadSwapped<u64>(0x428, partition); + const std::optional<u32> size = volume.ReadSwapped<u32>(0x428, partition); const u8 offset_shift = volume_type == Platform::WII_DISC ? 2 : 0; return size ? static_cast<u64>(*size) << offset_shift : std::optional<u64>(); } |
