mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-03-06 14:27:43 +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 width {stoi(arguments[i + 1])};
|
||||||
const int height {stoi(arguments[i + 2])};
|
const int height {stoi(arguments[i + 2])};
|
||||||
if (width < 224 || height < 224 || width > 7680 || height > 7680 ||
|
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
|
std::cerr << "Error: Unsupported resolution " << width << "x" << height
|
||||||
<< " supplied\n";
|
<< " supplied\n";
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue