mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-26 08:05:38 +00:00
Lowered the minimal supported resolution from 640x480 to 224x224.
This commit is contained in:
parent
c78386e648
commit
a2e12ace6a
|
@ -232,7 +232,7 @@ bool parseArgs(int argc, char* argv[])
|
||||||
}
|
}
|
||||||
int width = atoi(argv[i + 1]);
|
int width = atoi(argv[i + 1]);
|
||||||
int height = atoi(argv[i + 2]);
|
int height = atoi(argv[i + 2]);
|
||||||
if (width < 640 || height < 480 || width > 7680 || height > 4320 ||
|
if (width < 224 || height < 224 || width > 7680 || height > 4320 ||
|
||||||
height < width / 4 || width < height / 2) {
|
height < width / 4 || width < height / 2) {
|
||||||
std::cerr << "Error: Unsupported resolution " << width << "x" << height
|
std::cerr << "Error: Unsupported resolution " << width << "x" << height
|
||||||
<< " supplied.\n";
|
<< " supplied.\n";
|
||||||
|
|
Loading…
Reference in a new issue