mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
DiscIO/VolumeVerifier: Make no-argument overload of GetBiggestUsedOffset() const
The overload taking a partition is already a const member function, so this one can be turned into one as well.
This commit is contained in:
@ -446,7 +446,7 @@ void VolumeVerifier::CheckDiscSize()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
u64 VolumeVerifier::GetBiggestUsedOffset()
|
u64 VolumeVerifier::GetBiggestUsedOffset() const
|
||||||
{
|
{
|
||||||
std::vector<Partition> partitions = m_volume.GetPartitions();
|
std::vector<Partition> partitions = m_volume.GetPartitions();
|
||||||
if (partitions.empty())
|
if (partitions.empty())
|
||||||
|
@ -99,7 +99,7 @@ private:
|
|||||||
bool ShouldHaveMasterpiecePartitions() const;
|
bool ShouldHaveMasterpiecePartitions() const;
|
||||||
bool ShouldBeDualLayer() const;
|
bool ShouldBeDualLayer() const;
|
||||||
void CheckDiscSize();
|
void CheckDiscSize();
|
||||||
u64 GetBiggestUsedOffset();
|
u64 GetBiggestUsedOffset() const;
|
||||||
u64 GetBiggestUsedOffset(const FileInfo& file_info) const;
|
u64 GetBiggestUsedOffset(const FileInfo& file_info) const;
|
||||||
void CheckMisc();
|
void CheckMisc();
|
||||||
void SetUpHashing();
|
void SetUpHashing();
|
||||||
|
Reference in New Issue
Block a user