Added support for the 19.5:9 display aspect ratio

This commit is contained in:
Leon Styhre 2023-12-19 18:48:12 +01:00
parent 6c78cad77d
commit d73c308a5c

View file

@ -63,6 +63,8 @@ std::vector<std::pair<std::string, std::string>> ThemeData::sSupportedAspectRati
{"4:3_vertical", "4:3 vertical"},
{"5:4", "5:4"},
{"5:4_vertical", "5:4 vertical"},
{"19.5:9", "19.5:9"},
{"19.5:9_vertical", "19.5:9_vertical"},
{"21:9", "21:9"},
{"21:9_vertical", "21:9 vertical"},
{"32:9", "32:0"},
@ -80,6 +82,8 @@ std::map<std::string, float> ThemeData::sAspectRatioMap {
{"4:3_vertical", 0.75f},
{"5:4", 1.25f},
{"5:4_vertical", 0.8f},
{"19.5:9", 2.1667f},
{"19.5:9_vertical", 0.4615f},
{"21:9", 2.3703f},
{"21:9_vertical", 0.4219f},
{"32:9", 3.5555f},