diff options
| author | JosJuice <josjuice@gmail.com> | 2020-06-07 14:11:00 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2020-06-07 14:11:00 +0200 |
| commit | 162e3be82bcfde1f5fc2cd304b70765c342dac2f (patch) | |
| tree | 4fbfebe634290deac1a69981e1414aa30b737951 /Source/Core/DiscIO/VolumeWad.cpp | |
| parent | d89162c8adeced084c39059a399352723ae43d2d (diff) | |
Show an OSD message when running a disc image with a large block size
This is intended to catch WIA files which have been created using
wit's default parameters (40 MiB block size), once the WIA PR is
merged. The check does however also work for GCZ files – not that
I think anyone has a GCZ file with a block size that large.
Diffstat (limited to 'Source/Core/DiscIO/VolumeWad.cpp')
| -rw-r--r-- | Source/Core/DiscIO/VolumeWad.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/DiscIO/VolumeWad.cpp b/Source/Core/DiscIO/VolumeWad.cpp index 584ae3b5b7..7681d3932c 100644 --- a/Source/Core/DiscIO/VolumeWad.cpp +++ b/Source/Core/DiscIO/VolumeWad.cpp @@ -327,4 +327,9 @@ u64 VolumeWAD::GetRawSize() const return m_reader->GetRawSize(); } +const BlobReader& VolumeWAD::GetBlobReader() const +{ + return *m_reader; +} + } // namespace DiscIO |
