diff options
| author | Scott Mansell <phiren@gmail.com> | 2014-01-21 00:10:00 +1300 |
|---|---|---|
| committer | Scott Mansell <phiren@gmail.com> | 2014-01-21 00:10:00 +1300 |
| commit | 8b2c54054414f17fdc4ab0d8fb988f02f189e74e (patch) | |
| tree | c9022c6e64da338f5db7723b71732f918cbaf7aa /Source/Core/VideoBackends/Software/SWVideoConfig.cpp | |
| parent | 2c8340e1dc3b05d7f314c363ebc9278f40eb5350 (diff) | |
| parent | 43d1678fb2befa4bf72a54e2f86be600ada3018b (diff) | |
Finally Merge branch 'videosoftware-xfb'
This adds xfb support to the videosoftware backend, which increases it's
accuracy and more imporantly, enables the usage of many homebrew apps
which write directly to the xfb on the videosoftware backend.
Conflicts:
Source/Core/VideoBackends/Software/SWRenderer.cpp
Source/Core/VideoBackends/Software/SWmain.cpp
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWVideoConfig.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/SWVideoConfig.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/VideoBackends/Software/SWVideoConfig.cpp b/Source/Core/VideoBackends/Software/SWVideoConfig.cpp index eb7cb79d40..36f91265cb 100644 --- a/Source/Core/VideoBackends/Software/SWVideoConfig.cpp +++ b/Source/Core/VideoBackends/Software/SWVideoConfig.cpp @@ -15,6 +15,7 @@ SWVideoConfig::SWVideoConfig() renderToMainframe = false; bHwRasterizer = false; + bBypassXFB = false; bShowStats = false; @@ -41,6 +42,7 @@ void SWVideoConfig::Load(const char* ini_file) iniFile.Get("Hardware", "RenderToMainframe", &renderToMainframe, false); iniFile.Get("Rendering", "HwRasterizer", &bHwRasterizer, false); + iniFile.Get("Rendering", "BypassXFB", &bBypassXFB, false); iniFile.Get("Rendering", "ZComploc", &bZComploc, true); iniFile.Get("Rendering", "ZFreeze", &bZFreeze, true); @@ -65,6 +67,7 @@ void SWVideoConfig::Save(const char* ini_file) iniFile.Set("Hardware", "RenderToMainframe", renderToMainframe); iniFile.Set("Rendering", "HwRasterizer", bHwRasterizer); + iniFile.Set("Rendering", "BypassXFB", bBypassXFB); iniFile.Set("Rendering", "ZComploc", bZComploc); iniFile.Set("Rendering", "ZFreeze", bZFreeze); |
