summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/DiscUtils.cpp
diff options
context:
space:
mode:
authorSintendo <3380580+Sintendo@users.noreply.github.com>2026-02-01 09:20:46 +0100
committerSintendo <3380580+Sintendo@users.noreply.github.com>2026-03-23 23:55:09 +0100
commitf6a67aa6e722350db3fc778e4f881cb60090faa1 (patch)
treef35cbb126c72e04cc9032aa55453cfa0edcf7a97 /Source/Core/DiscIO/DiscUtils.cpp
parentc05b231015375a88ecb4c4eea69862c8c75b809c (diff)
Use more std::span arguments
Diffstat (limited to 'Source/Core/DiscIO/DiscUtils.cpp')
-rw-r--r--Source/Core/DiscIO/DiscUtils.cpp3
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;