mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Merge pull request #10491 from Minty-Meeo/dolphin-tool-more-stuff
More dolphin-tool features and options
This commit is contained in:
commit
7b0d5f2df3
20 changed files with 167 additions and 8 deletions
|
@ -220,7 +220,8 @@ int ConvertCommand::Main(const std::vector<std::string>& args)
|
|||
return 1;
|
||||
}
|
||||
|
||||
const std::pair<int, int> range = DiscIO::GetAllowedCompressionLevels(compression_o.value());
|
||||
const std::pair<int, int> range =
|
||||
DiscIO::GetAllowedCompressionLevels(compression_o.value(), false);
|
||||
if (compression_level_o.value() < range.first || compression_level_o.value() > range.second)
|
||||
{
|
||||
std::cerr << "Error: Compression level not in acceptable range" << std::endl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue