Merge branch 'vidmodestuff' into Saturn-Testing

This commit is contained in:
Alug committed 2025-11-24 20:50:04 +01:00
commit 1ed9bfc9b4
1 file changed
+4
+4
View File
@@ -1547,6 +1547,10 @@ static int IsCustomResolutionInList(int list_size)
INT32 custom_w = cv_scr_width.value;
INT32 custom_h = cv_scr_height.value;
// startup
if (!custom_w || !custom_h)
return -2;
// invalid resolution
// dont even attempt to add it
if (custom_w < BASEVIDWIDTH || custom_w > MAXVIDWIDTH