summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/ConvertDialog.cpp
diff options
context:
space:
mode:
authorMinty-Meeo <45425365+Minty-Meeo@users.noreply.github.com>2022-02-24 04:51:52 -0600
committerMinty-Meeo <45425365+Minty-Meeo@users.noreply.github.com>2022-03-19 17:13:28 -0500
commitdeba9ce2564485c7fe078d4e73d0d2cba722b1ac (patch)
tree4b8042a15afb07fd380f4d894eadfd9f055fff55 /Source/Core/DolphinQt/ConvertDialog.cpp
parent75ad057b08a85e8bf76153a6fe5b0b696bfc34fe (diff)
Added a way to check Block Size, Compression Method, and Compression Level flags to dolphin-tool
New dolphin-tool command: "header" -b / --block_size -c / --compression -l / --compression_level Informative RVZ/WIA header2 value "compression_level" is now a s32 instead of a u32, because negative compression is a thing. Speaking of, it is now possible to use negative compression levels in dolphin-tool's convert command (not the GUI, though).
Diffstat (limited to 'Source/Core/DolphinQt/ConvertDialog.cpp')
-rw-r--r--Source/Core/DolphinQt/ConvertDialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/ConvertDialog.cpp b/Source/Core/DolphinQt/ConvertDialog.cpp
index afc0f6e87c..c5bb6d6346 100644
--- a/Source/Core/DolphinQt/ConvertDialog.cpp
+++ b/Source/Core/DolphinQt/ConvertDialog.cpp
@@ -262,7 +262,7 @@ void ConvertDialog::OnCompressionChanged()
const auto compression_type =
static_cast<DiscIO::WIARVZCompressionType>(m_compression->currentData().toInt());
- const std::pair<int, int> range = DiscIO::GetAllowedCompressionLevels(compression_type);
+ const std::pair<int, int> range = DiscIO::GetAllowedCompressionLevels(compression_type, true);
for (int i = range.first; i <= range.second; ++i)
{