diff options
| author | Jules Blok <jules.blok@gmail.com> | 2014-10-31 16:05:44 +0100 |
|---|---|---|
| committer | Jules Blok <jules.blok@gmail.com> | 2014-11-23 14:27:39 +0100 |
| commit | 1261bd02caa0ca2503bdd52e7b37c22f8e0bcde5 (patch) | |
| tree | be38205c35d5341f8380ae60328e810b335b516c /Source/Core/VideoCommon/VideoConfig.cpp | |
| parent | c3ad6e78207bc0f64a9687fd8f27fbe0f7606bc7 (diff) | |
VertexShaderManager: Add stereoscopy options to swap the left and right eye.
Diffstat (limited to 'Source/Core/VideoCommon/VideoConfig.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VideoConfig.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/VideoConfig.cpp b/Source/Core/VideoCommon/VideoConfig.cpp index 18e098652d..4bcb2051f0 100644 --- a/Source/Core/VideoCommon/VideoConfig.cpp +++ b/Source/Core/VideoCommon/VideoConfig.cpp @@ -69,6 +69,7 @@ void VideoConfig::Load(const std::string& ini_file) settings->Get("StereoMode", &iStereoMode, 0); settings->Get("StereoSeparation", &iStereoSeparation, 65); settings->Get("StereoFocalLength", &iStereoFocalLength, 100); + settings->Get("StereoSwapEyes", &bStereoSwapEyes, false); settings->Get("EnablePixelLighting", &bEnablePixelLighting, 0); settings->Get("FastDepthCalc", &bFastDepthCalc, true); settings->Get("MSAA", &iMultisampleMode, 0); @@ -143,6 +144,7 @@ void VideoConfig::GameIniLoad() CHECK_SETTING("Video_Settings", "StereoMode", iStereoMode); CHECK_SETTING("Video_Settings", "StereoSeparation", iStereoSeparation); CHECK_SETTING("Video_Settings", "StereoFocalLength", iStereoFocalLength); + CHECK_SETTING("Video_Settings", "StereoSwapEyes", bStereoSwapEyes); CHECK_SETTING("Video_Settings", "EnablePixelLighting", bEnablePixelLighting); CHECK_SETTING("Video_Settings", "FastDepthCalc", bFastDepthCalc); CHECK_SETTING("Video_Settings", "MSAA", iMultisampleMode); @@ -234,6 +236,7 @@ void VideoConfig::Save(const std::string& ini_file) settings->Set("StereoMode", iStereoMode); settings->Set("StereoSeparation", iStereoSeparation); settings->Set("StereoFocalLength", iStereoFocalLength); + settings->Set("StereoSwapEyes", bStereoSwapEyes); settings->Set("EnablePixelLighting", bEnablePixelLighting); settings->Set("FastDepthCalc", bFastDepthCalc); settings->Set("ShowEFBCopyRegions", bShowEFBCopyRegions); |
