summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPierre de La Morinerie <kemenaran@gmail.com>2015-10-18 14:08:23 +0200
committerPierre de La Morinerie <kemenaran@gmail.com>2015-10-18 14:08:23 +0200
commit71f6672415468565a8a2d5e2f6f07da5004c2c39 (patch)
treee37ad90a64043dcc3f9a37ad90e302138ed69b50 /src
parentMerge pull request #1194 from linkmauve/no-newline (diff)
downloadyuzu-71f6672415468565a8a2d5e2f6f07da5004c2c39.tar
yuzu-71f6672415468565a8a2d5e2f6f07da5004c2c39.tar.gz
yuzu-71f6672415468565a8a2d5e2f6f07da5004c2c39.tar.bz2
yuzu-71f6672415468565a8a2d5e2f6f07da5004c2c39.tar.lz
yuzu-71f6672415468565a8a2d5e2f6f07da5004c2c39.tar.xz
yuzu-71f6672415468565a8a2d5e2f6f07da5004c2c39.tar.zst
yuzu-71f6672415468565a8a2d5e2f6f07da5004c2c39.zip
Diffstat (limited to 'src')
-rw-r--r--src/citra_qt/main.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp
index 038bfa07d..d25220e25 100644
--- a/src/citra_qt/main.cpp
+++ b/src/citra_qt/main.cpp
@@ -443,10 +443,18 @@ void GMainWindow::OnOpenHotkeysDialog() {
void GMainWindow::SetHardwareRendererEnabled(bool enabled) {
VideoCore::g_hw_renderer_enabled = enabled;
+
+ Config config;
+ Settings::values.use_hw_renderer = enabled;
+ config.Save();
}
void GMainWindow::SetShaderJITEnabled(bool enabled) {
VideoCore::g_shader_jit_enabled = enabled;
+
+ Config config;
+ Settings::values.use_shader_jit = enabled;
+ config.Save();
}
void GMainWindow::ToggleWindowMode() {