aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/citra/config.cpp
diff options
context:
space:
mode:
authorGravatar tfarley <tfarleygithub@gmail.com>2015-05-03 15:34:48 -0400
committerGravatar tfarley <tfarleygithub@gmail.com>2015-05-22 14:37:55 -0700
commit6d995b1ff654483f830b6c285629545263393d7e (patch)
tree8c2a9e21a61f0ded0d97b97e0c579633e4f38b06 /src/citra/config.cpp
parenteca2b71fa8a6c4c104695b866952e4295dc6466f (diff)
INI hw/sw renderer toggle
Diffstat (limited to 'src/citra/config.cpp')
-rw-r--r--src/citra/config.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/citra/config.cpp b/src/citra/config.cpp
index ab564559..846479fd 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);