diff options
| author | JosJuice <josjuice@gmail.com> | 2022-08-01 11:53:30 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2022-08-04 22:00:59 +0200 |
| commit | a87dffe52d8bfaa05d07770a9113cf9406ea6db0 (patch) | |
| tree | 2adcf23a6b4d18d06c714bc89a12df229ce29c21 /Source/Core/DiscIO/WIABlob.cpp | |
| parent | 3a6df63e9bcfeedbcd9a479c9d0ba930d4939c1a (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/WIABlob.cpp')
| -rw-r--r-- | Source/Core/DiscIO/WIABlob.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/WIABlob.cpp b/Source/Core/DiscIO/WIABlob.cpp index 77accc590d..b80753120b 100644 --- a/Source/Core/DiscIO/WIABlob.cpp +++ b/Source/Core/DiscIO/WIABlob.cpp @@ -1731,7 +1731,7 @@ WIARVZFileReader<RVZ>::Convert(BlobReader* infile, const VolumeDisc* infile_volu File::IOFile* outfile, WIARVZCompressionType compression_type, int compression_level, int chunk_size, CompressCB callback) { - ASSERT(infile->IsDataSizeAccurate()); + ASSERT(infile->GetDataSizeType() == DataSizeType::Accurate); ASSERT(chunk_size > 0); const u64 iso_size = infile->GetDataSize(); |
