mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 07:35:38 +00:00
Added support for more extreme vertical resolution than previously allowed
This commit is contained in:
parent
9b96e4b69f
commit
6c78cad77d
|
@ -243,7 +243,7 @@ bool parseArguments(const std::vector<std::string>& arguments)
|
|||
const int width {stoi(arguments[i + 1])};
|
||||
const int height {stoi(arguments[i + 2])};
|
||||
if (width < 224 || height < 224 || width > 7680 || height > 7680 ||
|
||||
height < width / 4 || width < height / 2) {
|
||||
height < width / 4 || width < height / 3) {
|
||||
std::cerr << "Error: Unsupported resolution " << width << "x" << height
|
||||
<< " supplied\n";
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue