From 79bca7505042cd4c8e7dbfc13ed52b37a7a10888 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Tue, 19 Dec 2023 19:00:10 +0100 Subject: [PATCH] Added support for the 20:9 display aspect ratio --- es-core/src/ThemeData.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/es-core/src/ThemeData.cpp b/es-core/src/ThemeData.cpp index 33bcc46a4..f40f11d07 100644 --- a/es-core/src/ThemeData.cpp +++ b/es-core/src/ThemeData.cpp @@ -64,7 +64,9 @@ std::vector> ThemeData::sSupportedAspectRati {"5:4", "5:4"}, {"5:4_vertical", "5:4 vertical"}, {"19.5:9", "19.5:9"}, - {"19.5:9_vertical", "19.5:9_vertical"}, + {"19.5:9_vertical", "19.5:9 vertical"}, + {"20:9", "20:9"}, + {"20:9_vertical", "20:9 vertical"}, {"21:9", "21:9"}, {"21:9_vertical", "21:9 vertical"}, {"32:9", "32:0"}, @@ -84,6 +86,8 @@ std::map ThemeData::sAspectRatioMap { {"5:4_vertical", 0.8f}, {"19.5:9", 2.1667f}, {"19.5:9_vertical", 0.4615f}, + {"20:9", 2.2222f}, + {"20:9_vertical", 0.45f}, {"21:9", 2.3703f}, {"21:9_vertical", 0.4219f}, {"32:9", 3.5555f},