mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-03 08:52:39 +00:00
Don't force the aspect ratio in GameINIs
Instead, add a SuggestedAspectRatio option which tells Dolphin which aspect ratio to use when the aspect ratio option is set to Auto.
This commit is contained in:
parent
8ee5253c5b
commit
e58ba76f07
37 changed files with 42 additions and 34 deletions
|
@ -56,7 +56,11 @@ void VideoConfig::Refresh()
|
|||
iAdapter = Config::Get(Config::GFX_ADAPTER);
|
||||
|
||||
bWidescreenHack = Config::Get(Config::GFX_WIDESCREEN_HACK);
|
||||
iAspectRatio = Config::Get(Config::GFX_ASPECT_RATIO);
|
||||
const int aspect_ratio = Config::Get(Config::GFX_ASPECT_RATIO);
|
||||
if (aspect_ratio == ASPECT_AUTO)
|
||||
iAspectRatio = Config::Get(Config::GFX_SUGGESTED_ASPECT_RATIO);
|
||||
else
|
||||
iAspectRatio = aspect_ratio;
|
||||
bCrop = Config::Get(Config::GFX_CROP);
|
||||
bUseXFB = Config::Get(Config::GFX_USE_XFB);
|
||||
bUseRealXFB = Config::Get(Config::GFX_USE_REAL_XFB);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue