diff options
author | bunnei <bunneidev@gmail.com> | 2015-10-20 16:31:13 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-10-20 16:31:13 +0200 |
commit | 7411aed5c719f608ddd3c36654a6402abae388de (patch) | |
tree | 5433129100697eb9e1e1d4697af986238e37e923 /src | |
parent | Merge pull request #1204 from kemenaran/qt-add-mac-icon (diff) | |
parent | citra-qt: persist hardware-rendering and shaders-jit settings (diff) | |
download | yuzu-7411aed5c719f608ddd3c36654a6402abae388de.tar yuzu-7411aed5c719f608ddd3c36654a6402abae388de.tar.gz yuzu-7411aed5c719f608ddd3c36654a6402abae388de.tar.bz2 yuzu-7411aed5c719f608ddd3c36654a6402abae388de.tar.lz yuzu-7411aed5c719f608ddd3c36654a6402abae388de.tar.xz yuzu-7411aed5c719f608ddd3c36654a6402abae388de.tar.zst yuzu-7411aed5c719f608ddd3c36654a6402abae388de.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/citra_qt/main.cpp | 8 |
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() { |