Added support for the 20:9 display aspect ratio

This commit is contained in:
Leon Styhre 2023-12-19 19:00:10 +01:00
parent d73c308a5c
commit 79bca75050

View file

@ -64,7 +64,9 @@ std::vector<std::pair<std::string, std::string>> 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<std::string, float> 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},