diff options
Diffstat (limited to 'Source/Core/DiscIO/DiscUtils.cpp')
| -rw-r--r-- | Source/Core/DiscIO/DiscUtils.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/DiscUtils.cpp b/Source/Core/DiscIO/DiscUtils.cpp index a22b97a466..e068229e57 100644 --- a/Source/Core/DiscIO/DiscUtils.cpp +++ b/Source/Core/DiscIO/DiscUtils.cpp @@ -5,6 +5,7 @@ #include <algorithm> #include <optional> +#include <span> #include <string> #include <vector> @@ -155,7 +156,7 @@ static u64 GetBiggestReferencedOffset(const Volume& volume, const FileInfo& file } } -u64 GetBiggestReferencedOffset(const Volume& volume, const std::vector<Partition>& partitions) +u64 GetBiggestReferencedOffset(const Volume& volume, std::span<const Partition> partitions) { const u64 disc_header_size = volume.GetVolumeType() == Platform::GameCubeDisc ? 0x460 : 0x50000; u64 biggest_offset = disc_header_size; |
