mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-05-07 06:00:58 -04:00
Use more std::span arguments
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user