mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
DiscIO: Replace IsDataSizeAccurate with GetDataSizeType
Previously, we had WBFS and CISO which both returned an upper bound of the size, and other formats which returned an accurate size. But now we also have NFS, which returns a lower bound of the size. To allow VolumeVerifier to make better informed decisions for NFS, let's use an enum instead of a bool for the type of data size a blob has.
This commit is contained in:
@ -369,14 +369,14 @@ BlobType VolumeWii::GetBlobType() const
|
||||
return m_reader->GetBlobType();
|
||||
}
|
||||
|
||||
u64 VolumeWii::GetSize() const
|
||||
u64 VolumeWii::GetDataSize() const
|
||||
{
|
||||
return m_reader->GetDataSize();
|
||||
}
|
||||
|
||||
bool VolumeWii::IsSizeAccurate() const
|
||||
DataSizeType VolumeWii::GetDataSizeType() const
|
||||
{
|
||||
return m_reader->IsDataSizeAccurate();
|
||||
return m_reader->GetDataSizeType();
|
||||
}
|
||||
|
||||
u64 VolumeWii::GetRawSize() const
|
||||
|
Reference in New Issue
Block a user