summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/VolumeWad.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2022-08-01 11:53:30 +0200
committerJosJuice <josjuice@gmail.com>2022-08-04 22:00:59 +0200
commita87dffe52d8bfaa05d07770a9113cf9406ea6db0 (patch)
tree2adcf23a6b4d18d06c714bc89a12df229ce29c21 /Source/Core/DiscIO/VolumeWad.cpp
parent3a6df63e9bcfeedbcd9a479c9d0ba930d4939c1a (diff)
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.
Diffstat (limited to 'Source/Core/DiscIO/VolumeWad.cpp')
-rw-r--r--Source/Core/DiscIO/VolumeWad.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/DiscIO/VolumeWad.cpp b/Source/Core/DiscIO/VolumeWad.cpp
index edfd4c76ee..81e2912671 100644
--- a/Source/Core/DiscIO/VolumeWad.cpp
+++ b/Source/Core/DiscIO/VolumeWad.cpp
@@ -318,14 +318,14 @@ BlobType VolumeWAD::GetBlobType() const
return m_reader->GetBlobType();
}
-u64 VolumeWAD::GetSize() const
+u64 VolumeWAD::GetDataSize() const
{
return m_reader->GetDataSize();
}
-bool VolumeWAD::IsSizeAccurate() const
+DataSizeType VolumeWAD::GetDataSizeType() const
{
- return m_reader->IsDataSizeAccurate();
+ return m_reader->GetDataSizeType();
}
u64 VolumeWAD::GetRawSize() const