summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/DiscUtils.cpp
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2025-04-22 20:00:03 -0500
committerGitHub <noreply@github.com>2025-04-22 20:00:03 -0500
commit31a3de819d7d8d5cc6a39cd3f835ad0dac7f70a7 (patch)
treeae671aef3242cbe7b4316a9555d7675f7b10ee77 /Source/Core/DiscIO/DiscUtils.cpp
parent0fd090ce198a247c71deaaa0aef9b12c142ed13d (diff)
parentecafd8058fac02ea2bdff72616bcf59c3a21156d (diff)
Merge pull request #13540 from tygyh/DiscIO-Remove-redundant-qualifiers
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