From a2e12ace6ac6237304669d971c43cb494517f3f6 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Thu, 30 Sep 2021 19:51:04 +0200 Subject: [PATCH] Lowered the minimal supported resolution from 640x480 to 224x224. --- es-app/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es-app/src/main.cpp b/es-app/src/main.cpp index 46f9d9cea..be86c130f 100644 --- a/es-app/src/main.cpp +++ b/es-app/src/main.cpp @@ -232,7 +232,7 @@ bool parseArgs(int argc, char* argv[]) } int width = atoi(argv[i + 1]); 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) { std::cerr << "Error: Unsupported resolution " << width << "x" << height << " supplied.\n";