diff options
| author | JosJuice <josjuice@gmail.com> | 2020-05-05 00:43:32 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2020-06-17 13:48:15 +0200 |
| commit | b06c50ed2e8740b600e546b4d5e7aa097c7a5cb9 (patch) | |
| tree | 1e465ed59cd35397cad14b4e00ca65cf6fd0fa32 /Source/Core/DolphinQt/ConvertDialog.cpp | |
| parent | 0d433baeb5b0f0fb19d691d2d7b37ed5fc737535 (diff) | |
RVZ: Support chunk sizes between 32 KiB and 2 MiB
WIA doesn't support smaller than 2 MiB.
Diffstat (limited to 'Source/Core/DolphinQt/ConvertDialog.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/ConvertDialog.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/ConvertDialog.cpp b/Source/Core/DolphinQt/ConvertDialog.cpp index db801581a0..1883918d95 100644 --- a/Source/Core/DolphinQt/ConvertDialog.cpp +++ b/Source/Core/DolphinQt/ConvertDialog.cpp @@ -199,13 +199,19 @@ void ConvertDialog::OnFormatChanged() break; } case DiscIO::BlobType::WIA: - case DiscIO::BlobType::RVZ: m_block_size->setEnabled(true); // This is the smallest block size supported by WIA. For performance, larger sizes are avoided. AddToBlockSizeComboBox(0x200000); break; + case DiscIO::BlobType::RVZ: + m_block_size->setEnabled(true); + + for (int block_size = MIN_BLOCK_SIZE; block_size <= MAX_BLOCK_SIZE; block_size *= 2) + AddToBlockSizeComboBox(block_size); + + break; default: break; } |
