diff options
| author | Sintendo <3380580+Sintendo@users.noreply.github.com> | 2026-02-01 09:20:46 +0100 |
|---|---|---|
| committer | Sintendo <3380580+Sintendo@users.noreply.github.com> | 2026-03-23 23:55:09 +0100 |
| commit | f6a67aa6e722350db3fc778e4f881cb60090faa1 (patch) | |
| tree | f35cbb126c72e04cc9032aa55453cfa0edcf7a97 /Source/Core/DiscIO/VolumeWad.cpp | |
| parent | c05b231015375a88ecb4c4eea69862c8c75b809c (diff) | |
Use more std::span arguments
Diffstat (limited to 'Source/Core/DiscIO/VolumeWad.cpp')
| -rw-r--r-- | Source/Core/DiscIO/VolumeWad.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/VolumeWad.cpp b/Source/Core/DiscIO/VolumeWad.cpp index 44e229e1ce..95c6a68dc6 100644 --- a/Source/Core/DiscIO/VolumeWad.cpp +++ b/Source/Core/DiscIO/VolumeWad.cpp @@ -7,6 +7,7 @@ #include <map> #include <memory> #include <optional> +#include <span> #include <string> #include <utility> #include <vector> @@ -149,7 +150,7 @@ std::vector<u64> VolumeWAD::GetContentOffsets() const } bool VolumeWAD::CheckContentIntegrity(const IOS::ES::Content& content, - const std::vector<u8>& encrypted_data, + std::span<const u8> encrypted_data, const IOS::ES::TicketReader& ticket) const { if (encrypted_data.size() != Common::AlignUp(content.size, 0x40)) |
