summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinTool/ConvertCommand.cpp
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2022-08-04 22:20:08 +0200
committerGitHub <noreply@github.com>2022-08-04 22:20:08 +0200
commit5508c52a952557728f6a594686e4b637fa2b2766 (patch)
tree0ab11c263c4ffda0a6ce17f5fd38faf5428c10b5 /Source/Core/DolphinTool/ConvertCommand.cpp
parentceae42b754c479dd60461323afa5a8bc90a4dfc2 (diff)
parent6fc3bbbdd9caa53157ea850f19fa0f8d5da7c3f7 (diff)
Merge pull request #10932 from JosJuice/nfs
DiscIO: Add support for the NFS format
Diffstat (limited to 'Source/Core/DolphinTool/ConvertCommand.cpp')
-rw-r--r--Source/Core/DolphinTool/ConvertCommand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinTool/ConvertCommand.cpp b/Source/Core/DolphinTool/ConvertCommand.cpp
index 4d5e2062fa..94b7f7fd11 100644
--- a/Source/Core/DolphinTool/ConvertCommand.cpp
+++ b/Source/Core/DolphinTool/ConvertCommand.cpp
@@ -212,7 +212,7 @@ int ConvertCommand::Main(const std::vector<std::string>& args)
}
if (format == DiscIO::BlobType::GCZ && volume &&
- !DiscIO::IsGCZBlockSizeLegacyCompatible(block_size_o.value(), volume->GetSize()))
+ !DiscIO::IsGCZBlockSizeLegacyCompatible(block_size_o.value(), volume->GetDataSize()))
{
std::cerr << "Warning: For GCZs to be compatible with Dolphin < 5.0-11893, "
"the file size must be an integer multiple of the block size "