summaryrefslogtreecommitdiffstats
path: root/src/core/settings.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-11 00:39:37 +0200
committerLioncash <mathew1800@gmail.com>2018-08-11 01:00:09 +0200
commit20c2928c2b157b8a322a128732cd00cabbfa9d6d (patch)
treef7db86f1b27135d7cc352c6eb5de4f2949d7e0f4 /src/core/settings.cpp
parentrenderer_base: Remove unused kFramebuffer enumeration (diff)
downloadyuzu-20c2928c2b157b8a322a128732cd00cabbfa9d6d.tar
yuzu-20c2928c2b157b8a322a128732cd00cabbfa9d6d.tar.gz
yuzu-20c2928c2b157b8a322a128732cd00cabbfa9d6d.tar.bz2
yuzu-20c2928c2b157b8a322a128732cd00cabbfa9d6d.tar.lz
yuzu-20c2928c2b157b8a322a128732cd00cabbfa9d6d.tar.xz
yuzu-20c2928c2b157b8a322a128732cd00cabbfa9d6d.tar.zst
yuzu-20c2928c2b157b8a322a128732cd00cabbfa9d6d.zip
Diffstat (limited to '')
-rw-r--r--src/core/settings.cpp6
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 @@
#include "core/hle/service/hid/hid.h"
#include "core/settings.h"
#include "video_core/renderer_base.h"
-#include "video_core/video_core.h"
namespace Settings {
Values values = {};
void Apply() {
-
GDBStub::SetServerPort(values.gdbstub_port);
GDBStub::ToggleServer(values.use_gdbstub);
- VideoCore::g_toggle_framelimit_enabled = values.toggle_framelimit;
-
auto& system_instance = Core::System::GetInstance();
if (system_instance.IsPoweredOn()) {
- system_instance.Renderer().UpdateCurrentFramebufferLayout();
+ system_instance.Renderer().RefreshBaseSettings();
}
Service::HID::ReloadInputDevices();