diff options
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/hle/service/nvflinger/buffer_queue.h | 1 | ||||
| -rw-r--r-- | src/core/settings.cpp | 6 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/core/hle/service/nvflinger/buffer_queue.h b/src/core/hle/service/nvflinger/buffer_queue.h index f86e1056c..db2e17c0c 100644 --- a/src/core/hle/service/nvflinger/buffer_queue.h +++ b/src/core/hle/service/nvflinger/buffer_queue.h | |||
| @@ -6,6 +6,7 @@ | |||
| 6 | 6 | ||
| 7 | #include <vector> | 7 | #include <vector> |
| 8 | #include <boost/optional.hpp> | 8 | #include <boost/optional.hpp> |
| 9 | #include "common/common_funcs.h" | ||
| 9 | #include "common/math_util.h" | 10 | #include "common/math_util.h" |
| 10 | #include "common/swap.h" | 11 | #include "common/swap.h" |
| 11 | #include "core/hle/kernel/event.h" | 12 | #include "core/hle/kernel/event.h" |
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(); |