Emulator Issues #8732
closedAuto-enable "Force 16:9" when an in-game widescreen setting is enabled, to avoid distortion
0%
Description
Some games, such as Lego Star Wars II (GL7E64), have an in-game setting to force output in 16:9. Dolphin currently does not detect this and continues to display in 4:3 unless the "Force 16:9" setting is enabled manually. This results in a stretched image and is therefore not very user-friendly. Dolphin should instead automatically enable "Force 16:9" whenever an in-game widescreen setting is enabled, so that the image is never distorted.
As was discussed in IRC, there are two potential ways that Dolphin could detect that an in-game widescreen option is enabled:
-
Read setting from memory address
This is likely the simplest way but it requires a setting in the game INI to set the memory address for each game. For the USA version of Lego Star Wars II (GL7E64), I determined that the memory address is 0x0031c552. -
Detect aspect ratio from projection matrix (mentioned by phire in IRC)
This may be more difficult, I'm not sure. But it would have the advantage of functioning for all games without having to find a memory address for each game.
I would like to code a solution myself but my coding abilities are limited and I think it's outside the range of my capabilities.