summaryrefslogtreecommitdiffstats
path: root/src/citra/config.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-04-04 21:14:14 +0200
committerbunnei <bunneidev@gmail.com>2015-04-04 21:14:14 +0200
commit64196976b91e4202504724d65c1c772e1c542c39 (patch)
tree153bae22824e049686724c0c4e630e3a71f979e2 /src/citra/config.cpp
parentMerge pull request #641 from purpasmart96/service_stubs (diff)
parentAllow the user to set the background clear color during emulation (diff)
downloadyuzu-64196976b91e4202504724d65c1c772e1c542c39.tar
yuzu-64196976b91e4202504724d65c1c772e1c542c39.tar.gz
yuzu-64196976b91e4202504724d65c1c772e1c542c39.tar.bz2
yuzu-64196976b91e4202504724d65c1c772e1c542c39.tar.lz
yuzu-64196976b91e4202504724d65c1c772e1c542c39.tar.xz
yuzu-64196976b91e4202504724d65c1c772e1c542c39.tar.zst
yuzu-64196976b91e4202504724d65c1c772e1c542c39.zip
Diffstat (limited to 'src/citra/config.cpp')
-rw-r--r--src/citra/config.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/citra/config.cpp b/src/citra/config.cpp
index e9f3dfd5b..43175d6cb 100644
--- a/src/citra/config.cpp
+++ b/src/citra/config.cpp
@@ -66,6 +66,11 @@ void Config::ReadValues() {
Settings::values.gpu_refresh_rate = glfw_config->GetInteger("Core", "gpu_refresh_rate", 30);
Settings::values.frame_skip = glfw_config->GetInteger("Core", "frame_skip", 0);
+ // Renderer
+ 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);
+
// Data Storage
Settings::values.use_virtual_sd = glfw_config->GetBoolean("Data Storage", "use_virtual_sd", true);