sdl12-compat: Update fake modes list to match SDL2 wayland

From 022d9933c45f9133f68fab727f6ab46eff8faec6 Mon Sep 17 00:00:00 2001
From: David Gow <[EMAIL REDACTED]>
Date: Tue, 29 Mar 2022 16:09:18 +0800
Subject: [PATCH] Update fake modes list to match SDL2 wayland

SDL2's wayland backend has added support for fake resolutions in
https://github.com/libsdl-org/SDL/pull/5466

sdl12-compat had a much smaller list of emulated modes, used when
Logical Scaling was enabled. While, with Wayland now exposing these
modes, including them in sdl12-compat's list is no longer required under
Wayland, we might as well have the same list for any non-wayland
platforms which might have similar issues.
---
 src/SDL12_compat.c | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/src/SDL12_compat.c b/src/SDL12_compat.c
index 2189427..0b13d95 100644
--- a/src/SDL12_compat.c
+++ b/src/SDL12_compat.c
@@ -1772,10 +1772,34 @@ AddVidModeToList(VideoModeList *vmode, SDL12_Rect *mode)
 
 /* A list of fake video modes which are included. */
 static SDL12_Rect fake_modes[] = {
+    { 0, 0, 7680, 4320 },
+    { 0, 0, 6144, 3160 },
+    { 0, 0, 5120, 2880 },
+    { 0, 0, 4096, 2304 },
+    { 0, 0, 3840, 2160 },
+    { 0, 0, 3200, 1800 },
+    { 0, 0, 2880, 1600 },
+    { 0, 0, 2560, 1600 },
+    { 0, 0, 2048, 1536 },
+    { 0, 0, 1920, 1440 },
+    { 0, 0, 1920, 1200 },
     { 0, 0, 1920, 1080 },
+    { 0, 0, 1680, 1050 },
+    { 0, 0, 1600, 1200 },
+    { 0, 0, 1600, 900 },
+    { 0, 0, 1440, 1080 },
+    { 0, 0, 1440, 900 },
+    { 0, 0, 1400, 1050 },
+    { 0, 0, 1368, 768 },
+    { 0, 0, 1280, 1024 },
+    { 0, 0, 1280, 960 },
+    { 0, 0, 1280, 800 },
     { 0, 0, 1280, 720 },
+    { 0, 0, 1152, 864 },
     { 0, 0, 1024, 768 },
+    { 0, 0, 864, 486 },
     { 0, 0, 800, 600 },
+    { 0, 0, 720, 480 },
     { 0, 0, 640, 480 }
 };