summaryrefslogtreecommitdiff
path: root/src/core/settings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/settings.cpp')
-rw-r--r--src/core/settings.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/settings.cpp b/src/core/settings.cpp
index 012f7e6c3..444bcc387 100644
--- a/src/core/settings.cpp
+++ b/src/core/settings.cpp
@@ -2,7 +2,6 @@
2// Licensed under GPLv2 or any later version 2// Licensed under GPLv2 or any later version
3// Refer to the license.txt file included. 3// Refer to the license.txt file included.
4 4
5#include "audio_core/audio_core.h"
6#include "core/gdbstub/gdbstub.h" 5#include "core/gdbstub/gdbstub.h"
7#include "core/hle/service/hid/hid.h" 6#include "core/hle/service/hid/hid.h"
8#include "core/settings.h" 7#include "core/settings.h"
@@ -19,8 +18,6 @@ void Apply() {
19 GDBStub::SetServerPort(values.gdbstub_port); 18 GDBStub::SetServerPort(values.gdbstub_port);
20 GDBStub::ToggleServer(values.use_gdbstub); 19 GDBStub::ToggleServer(values.use_gdbstub);
21 20
22 VideoCore::g_hw_renderer_enabled = values.use_hw_renderer;
23 VideoCore::g_shader_jit_enabled = values.use_shader_jit;
24 VideoCore::g_toggle_framelimit_enabled = values.toggle_framelimit; 21 VideoCore::g_toggle_framelimit_enabled = values.toggle_framelimit;
25 22
26 if (VideoCore::g_emu_window) { 23 if (VideoCore::g_emu_window) {
@@ -28,9 +25,6 @@ void Apply() {
28 VideoCore::g_emu_window->UpdateCurrentFramebufferLayout(layout.width, layout.height); 25 VideoCore::g_emu_window->UpdateCurrentFramebufferLayout(layout.width, layout.height);
29 } 26 }
30 27
31 AudioCore::SelectSink(values.sink_id);
32 AudioCore::EnableStretching(values.enable_audio_stretching);
33
34 Service::HID::ReloadInputDevices(); 28 Service::HID::ReloadInputDevices();
35} 29}
36 30