diff options
Diffstat (limited to 'src/core/settings.cpp')
| -rw-r--r-- | src/core/settings.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/core/settings.cpp b/src/core/settings.cpp index a4623223d..0da159559 100644 --- a/src/core/settings.cpp +++ b/src/core/settings.cpp | |||
| @@ -7,22 +7,18 @@ | |||
| 7 | #include "core/hle/service/hid/hid.h" | 7 | #include "core/hle/service/hid/hid.h" |
| 8 | #include "core/settings.h" | 8 | #include "core/settings.h" |
| 9 | #include "video_core/renderer_base.h" | 9 | #include "video_core/renderer_base.h" |
| 10 | #include "video_core/video_core.h" | ||
| 11 | 10 | ||
| 12 | namespace Settings { | 11 | namespace Settings { |
| 13 | 12 | ||
| 14 | Values values = {}; | 13 | Values values = {}; |
| 15 | 14 | ||
| 16 | void Apply() { | 15 | void Apply() { |
| 17 | |||
| 18 | GDBStub::SetServerPort(values.gdbstub_port); | 16 | GDBStub::SetServerPort(values.gdbstub_port); |
| 19 | GDBStub::ToggleServer(values.use_gdbstub); | 17 | GDBStub::ToggleServer(values.use_gdbstub); |
| 20 | 18 | ||
| 21 | VideoCore::g_toggle_framelimit_enabled = values.toggle_framelimit; | ||
| 22 | |||
| 23 | auto& system_instance = Core::System::GetInstance(); | 19 | auto& system_instance = Core::System::GetInstance(); |
| 24 | if (system_instance.IsPoweredOn()) { | 20 | if (system_instance.IsPoweredOn()) { |
| 25 | system_instance.Renderer().UpdateCurrentFramebufferLayout(); | 21 | system_instance.Renderer().RefreshBaseSettings(); |
| 26 | } | 22 | } |
| 27 | 23 | ||
| 28 | Service::HID::ReloadInputDevices(); | 24 | Service::HID::ReloadInputDevices(); |