summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/DiscUtils.cpp
diff options
context:
space:
mode:
authorDr. Dystopia <jonis9898@hotmail.com>2025-04-19 21:45:27 +0200
committerDr. Dystopia <jonis9898@hotmail.com>2025-04-22 13:54:10 +0200
commitecafd8058fac02ea2bdff72616bcf59c3a21156d (patch)
treefeba0484cb6a2e404cfee60ab8594f43d13833f1 /Source/Core/DiscIO/DiscUtils.cpp
parentbc3c3eb79ae4d8dc83091d20c686aac2d772590e (diff)
DiscIO: Remove redundant qualifiers
Diffstat (limited to 'Source/Core/DiscIO/DiscUtils.cpp')
-rw-r--r--Source/Core/DiscIO/DiscUtils.cpp8
1 files changed, 4 insertions, 4 deletions
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