summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/ExpressionParser.cpp
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2015-07-23 17:39:44 +1200
committerScott Mansell <phiren@gmail.com>2015-07-27 10:40:41 +1200
commitbb60bcc42d7e9b4e0dfcb10e2058b4cace5c0508 (patch)
treec18d53e697add1b90814bcf93c0f11ae34a621f9 /Source/Core/InputCommon/ControllerInterface/ExpressionParser.cpp
parented50d61287a3ee68a8f8ad6e5a4e52d89dfb78f3 (diff)
Heuristic to detect if a gamecube game is rendering 16:9 widescreen.
Someone suggested on IRC that we should make a database of memory locations in GameCube games which contain the 'Widescreen' setting so we can automatically detect if the game is in 4:3 or 16:9 mode. But that's hardly optimal, when the game actually tells the gpu what aspect ratio to render in. 10 min and 6 lines of code later, this is the result. Not only does it detect the correct aspect ratio it does so on the fly. I'm a little suprised nobody thought about doing this before.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/ExpressionParser.cpp')
0 files changed, 0 insertions, 0 deletions