diff options
author | bunnei <bunneidev@gmail.com> | 2018-06-29 20:07:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-29 20:07:28 +0200 |
commit | 50ef2beb5850362dda9c1d50531475f0c5b6e8df (patch) | |
tree | ea63b3666a58af16fe7985c28fccc7890c45f951 /src/yuzu_cmd | |
parent | Merge pull request #588 from mailwl/hwopus (diff) | |
parent | gl_rasterizer_cache: Only dereference color_surface/depth_surface if valid. (diff) | |
download | yuzu-50ef2beb5850362dda9c1d50531475f0c5b6e8df.tar yuzu-50ef2beb5850362dda9c1d50531475f0c5b6e8df.tar.gz yuzu-50ef2beb5850362dda9c1d50531475f0c5b6e8df.tar.bz2 yuzu-50ef2beb5850362dda9c1d50531475f0c5b6e8df.tar.lz yuzu-50ef2beb5850362dda9c1d50531475f0c5b6e8df.tar.xz yuzu-50ef2beb5850362dda9c1d50531475f0c5b6e8df.tar.zst yuzu-50ef2beb5850362dda9c1d50531475f0c5b6e8df.zip |
Diffstat (limited to 'src/yuzu_cmd')
-rw-r--r-- | src/yuzu_cmd/config.cpp | 2 | ||||
-rw-r--r-- | src/yuzu_cmd/default_ini.h | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp index ee6e4d658..150915c17 100644 --- a/src/yuzu_cmd/config.cpp +++ b/src/yuzu_cmd/config.cpp @@ -98,6 +98,8 @@ void Config::ReadValues() { (float)sdl2_config->GetReal("Renderer", "resolution_factor", 1.0); Settings::values.toggle_framelimit = sdl2_config->GetBoolean("Renderer", "toggle_framelimit", true); + Settings::values.use_accurate_framebuffers = + sdl2_config->GetBoolean("Renderer", "use_accurate_framebuffers", false); Settings::values.bg_red = (float)sdl2_config->GetReal("Renderer", "bg_red", 0.0); Settings::values.bg_green = (float)sdl2_config->GetReal("Renderer", "bg_green", 0.0); diff --git a/src/yuzu_cmd/default_ini.h b/src/yuzu_cmd/default_ini.h index 1c438c3f5..5896971d4 100644 --- a/src/yuzu_cmd/default_ini.h +++ b/src/yuzu_cmd/default_ini.h @@ -102,6 +102,10 @@ resolution_factor = # 0 (default): Off, 1: On use_vsync = +# Whether to use accurate framebuffers +# 0 (default): Off (fast), 1 : On (slow) +use_accurate_framebuffers = + # The clear color for the renderer. What shows up on the sides of the bottom screen. # Must be in range of 0.0-1.0. Defaults to 1.0 for all. bg_red = |