summaryrefslogtreecommitdiffstats
path: root/src/citra
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2017-06-23 04:00:03 +0200
committerGitHub <noreply@github.com>2017-06-23 04:00:03 +0200
commitcac1133bc40bf72f8d1be0898d000177de159fbb (patch)
tree63e26fe231b5f42bd152c108c4a2cfddcb934787 /src/citra
parentMerge pull request #2796 from yuriks/hle-null-handles (diff)
parentChanging default values for bg_red, bg_green, and bg_blue from 1.0 to 0.0. (diff)
downloadyuzu-cac1133bc40bf72f8d1be0898d000177de159fbb.tar
yuzu-cac1133bc40bf72f8d1be0898d000177de159fbb.tar.gz
yuzu-cac1133bc40bf72f8d1be0898d000177de159fbb.tar.bz2
yuzu-cac1133bc40bf72f8d1be0898d000177de159fbb.tar.lz
yuzu-cac1133bc40bf72f8d1be0898d000177de159fbb.tar.xz
yuzu-cac1133bc40bf72f8d1be0898d000177de159fbb.tar.zst
yuzu-cac1133bc40bf72f8d1be0898d000177de159fbb.zip
Diffstat (limited to '')
-rw-r--r--src/citra/config.cpp6
-rw-r--r--src/citra_qt/configuration/config.cpp6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/citra/config.cpp b/src/citra/config.cpp
index f08b4069c..957d8dc86 100644
--- a/src/citra/config.cpp
+++ b/src/citra/config.cpp
@@ -88,9 +88,9 @@ void Config::ReadValues() {
Settings::values.toggle_framelimit =
sdl2_config->GetBoolean("Renderer", "toggle_framelimit", true);
- Settings::values.bg_red = (float)sdl2_config->GetReal("Renderer", "bg_red", 1.0);
- Settings::values.bg_green = (float)sdl2_config->GetReal("Renderer", "bg_green", 1.0);
- Settings::values.bg_blue = (float)sdl2_config->GetReal("Renderer", "bg_blue", 1.0);
+ 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);
+ Settings::values.bg_blue = (float)sdl2_config->GetReal("Renderer", "bg_blue", 0.0);
// Layout
Settings::values.layout_option =
diff --git a/src/citra_qt/configuration/config.cpp b/src/citra_qt/configuration/config.cpp
index 2b99447ec..64ffc9152 100644
--- a/src/citra_qt/configuration/config.cpp
+++ b/src/citra_qt/configuration/config.cpp
@@ -70,9 +70,9 @@ void Config::ReadValues() {
Settings::values.use_vsync = qt_config->value("use_vsync", false).toBool();
Settings::values.toggle_framelimit = qt_config->value("toggle_framelimit", true).toBool();
- Settings::values.bg_red = qt_config->value("bg_red", 1.0).toFloat();
- Settings::values.bg_green = qt_config->value("bg_green", 1.0).toFloat();
- Settings::values.bg_blue = qt_config->value("bg_blue", 1.0).toFloat();
+ Settings::values.bg_red = qt_config->value("bg_red", 0.0).toFloat();
+ Settings::values.bg_green = qt_config->value("bg_green", 0.0).toFloat();
+ Settings::values.bg_blue = qt_config->value("bg_blue", 0.0).toFloat();
qt_config->endGroup();
qt_config->beginGroup("Layout");