diff options
author | tfarley <tfarleygithub@gmail.com> | 2015-05-03 21:34:48 +0200 |
---|---|---|
committer | tfarley <tfarleygithub@gmail.com> | 2015-05-22 23:37:55 +0200 |
commit | 6d995b1ff654483f830b6c285629545263393d7e (patch) | |
tree | 8c2a9e21a61f0ded0d97b97e0c579633e4f38b06 /src/citra | |
parent | Merge pull request #798 from yuriks/y2r-bw (diff) | |
download | yuzu-6d995b1ff654483f830b6c285629545263393d7e.tar yuzu-6d995b1ff654483f830b6c285629545263393d7e.tar.gz yuzu-6d995b1ff654483f830b6c285629545263393d7e.tar.bz2 yuzu-6d995b1ff654483f830b6c285629545263393d7e.tar.lz yuzu-6d995b1ff654483f830b6c285629545263393d7e.tar.xz yuzu-6d995b1ff654483f830b6c285629545263393d7e.tar.zst yuzu-6d995b1ff654483f830b6c285629545263393d7e.zip |
Diffstat (limited to 'src/citra')
-rw-r--r-- | src/citra/config.cpp | 2 | ||||
-rw-r--r-- | src/citra/default_ini.h | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/citra/config.cpp b/src/citra/config.cpp index ab564559d..846479fd7 100644 --- a/src/citra/config.cpp +++ b/src/citra/config.cpp @@ -70,6 +70,8 @@ void Config::ReadValues() { Settings::values.frame_skip = glfw_config->GetInteger("Core", "frame_skip", 0); // Renderer + Settings::values.use_hw_renderer = glfw_config->GetBoolean("Renderer", "use_hw_renderer", false); + Settings::values.bg_red = (float)glfw_config->GetReal("Renderer", "bg_red", 1.0); Settings::values.bg_green = (float)glfw_config->GetReal("Renderer", "bg_green", 1.0); Settings::values.bg_blue = (float)glfw_config->GetReal("Renderer", "bg_blue", 1.0); diff --git a/src/citra/default_ini.h b/src/citra/default_ini.h index 1dd971926..fd5a90d56 100644 --- a/src/citra/default_ini.h +++ b/src/citra/default_ini.h @@ -42,6 +42,10 @@ gpu_refresh_rate = frame_skip = [Renderer] +# Whether to use software or hardware rendering. +# 0 (default): Software, 1: Hardware +use_hw_renderer = + # 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 = |