mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-11 16:49:28 +02: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:
@ -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);
|
||||
|
Reference in New Issue
Block a user