From ecafd8058fac02ea2bdff72616bcf59c3a21156d Mon Sep 17 00:00:00 2001 From: "Dr. Dystopia" Date: Sat, 19 Apr 2025 21:45:27 +0200 Subject: DiscIO: Remove redundant qualifiers --- Source/Core/DiscIO/DiscUtils.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Source/Core/DiscIO/DiscUtils.cpp') diff --git a/Source/Core/DiscIO/DiscUtils.cpp b/Source/Core/DiscIO/DiscUtils.cpp index 8564e8c017..aa97304ada 100644 --- a/Source/Core/DiscIO/DiscUtils.cpp +++ b/Source/Core/DiscIO/DiscUtils.cpp @@ -207,23 +207,23 @@ bool IsGCZBlockSizeLegacyCompatible(int block_size, u64 file_size) return file_size % block_size == 0 && file_size % (block_size * 32) != 0; } -bool IsDiscImageBlockSizeValid(int block_size, DiscIO::BlobType format) +bool IsDiscImageBlockSizeValid(int block_size, BlobType format) { switch (format) { - case DiscIO::BlobType::GCZ: + case BlobType::GCZ: // Block size "must" be a power of 2 if (!MathUtil::IsPow2(block_size)) return false; break; - case DiscIO::BlobType::WIA: + case BlobType::WIA: // Block size must not be less than the minimum, and must be a multiple of it if (block_size < WIA_MIN_BLOCK_SIZE || block_size % WIA_MIN_BLOCK_SIZE != 0) return false; break; - case DiscIO::BlobType::RVZ: + case BlobType::RVZ: // Block size must not be smaller than the minimum // Block sizes smaller than the large block size threshold must be a power of 2 // Block sizes larger than that threshold must be a multiple of the threshold -- cgit v1.2.3