diff options
| author | NeoBrainX <NeoBrainX@googlemail.com> | 2011-05-31 20:16:59 +0000 |
|---|---|---|
| committer | NeoBrainX <NeoBrainX@googlemail.com> | 2011-05-31 20:16:59 +0000 |
| commit | 84906edf61e66d9d6036c40f5489ff13d7e8dacf (patch) | |
| tree | bf730f626d5532dbb9f61dd6efb96200c60afb5c /Source/Core/VideoCommon | |
| parent | 39cbd73e02532159dfcde8155848a78ac9e3c061 (diff) | |
Fix applying anti-aliasing without having to open the gfx config. Thanks to skid for pointing out the VerifyValidity problem to me ;)
Fixes issue 4498.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7574 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon')
| -rw-r--r-- | Source/Core/VideoCommon/Src/VideoConfig.cpp | 4 | ||||
| -rw-r--r-- | Source/Core/VideoCommon/Src/VideoConfig.h | 1 |
2 files changed, 1 insertions, 4 deletions
diff --git a/Source/Core/VideoCommon/Src/VideoConfig.cpp b/Source/Core/VideoCommon/Src/VideoConfig.cpp index 01d2f1e425..c04e57beae 100644 --- a/Source/Core/VideoCommon/Src/VideoConfig.cpp +++ b/Source/Core/VideoCommon/Src/VideoConfig.cpp @@ -113,8 +113,6 @@ void VideoConfig::Load(const char *ini_file) iniFile.Get("Hardware", "Adapter", &iAdapter, 0); - VerifyValidity(); - // Load common settings iniFile.Load(File::GetUserPath(F_DOLPHINCONFIG_IDX)); bool bTmp; @@ -173,8 +171,6 @@ void VideoConfig::GameIniLoad(const char *ini_file) iniFile.GetIfExists("Video", "PH_ZNear", &sPhackvalue[0]); iniFile.GetIfExists("Video", "PH_ZFar", &sPhackvalue[1]); iniFile.GetIfExists("Video", "ZTPSpeedupHack", &bZTPSpeedHack); - - VerifyValidity(); } void VideoConfig::VerifyValidity() diff --git a/Source/Core/VideoCommon/Src/VideoConfig.h b/Source/Core/VideoCommon/Src/VideoConfig.h index 5f6945b8f7..b90d6c4b60 100644 --- a/Source/Core/VideoCommon/Src/VideoConfig.h +++ b/Source/Core/VideoCommon/Src/VideoConfig.h @@ -149,6 +149,7 @@ struct VideoConfig int iAdapter; // Static config per API + // TODO: Move this out of VideoConfig struct { API_TYPE APIType; |
