From edc7a4c89586372e66aee557afaea0a35ce2e203 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Sat, 8 Jul 2017 15:17:05 +0200 Subject: [PATCH] Fix reading FSTs for multi-disc games It's a wonder that this managed to work for any discs at all... --- Source/Core/DiscIO/DiscExtractor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 GetFSTSize(const Volume& volume, const Partition& partition) if (!IsDisc(volume_type)) return {}; - const std::optional size = volume.ReadSwapped(0x428, partition); + const std::optional size = volume.ReadSwapped(0x428, partition); const u8 offset_shift = volume_type == Platform::WII_DISC ? 2 : 0; return size ? static_cast(*size) << offset_shift : std::optional(); }