diff options
author | bunnei <bunneidev@gmail.com> | 2021-04-15 01:07:40 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-04-15 01:24:03 +0200 |
commit | a4c6712a4be249bf668df7f0ff83a0a5236283b2 (patch) | |
tree | f05e183692b6b1e4096d285fb77db50f048ae82d /src/common/settings.cpp | |
parent | core: settings: Add setting for debug assertions and disable by default. (diff) | |
download | yuzu-a4c6712a4be249bf668df7f0ff83a0a5236283b2.tar yuzu-a4c6712a4be249bf668df7f0ff83a0a5236283b2.tar.gz yuzu-a4c6712a4be249bf668df7f0ff83a0a5236283b2.tar.bz2 yuzu-a4c6712a4be249bf668df7f0ff83a0a5236283b2.tar.lz yuzu-a4c6712a4be249bf668df7f0ff83a0a5236283b2.tar.xz yuzu-a4c6712a4be249bf668df7f0ff83a0a5236283b2.tar.zst yuzu-a4c6712a4be249bf668df7f0ff83a0a5236283b2.zip |
Diffstat (limited to '')
-rw-r--r-- | src/common/settings.cpp (renamed from src/core/settings.cpp) | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/src/core/settings.cpp b/src/common/settings.cpp index 2ae5196e0..702b6598d 100644 --- a/src/core/settings.cpp +++ b/src/common/settings.cpp @@ -1,4 +1,4 @@ -// Copyright 2014 Citra Emulator Project +// Copyright 2021 yuzu Emulator Project // Licensed under GPLv2 or any later version // Refer to the license.txt file included. @@ -7,10 +7,7 @@ #include "common/assert.h" #include "common/file_util.h" #include "common/logging/log.h" -#include "core/core.h" -#include "core/hle/service/hid/hid.h" -#include "core/settings.h" -#include "video_core/renderer_base.h" +#include "common/settings.h" namespace Settings { @@ -32,14 +29,6 @@ std::string GetTimeZoneString() { return timezones[time_zone_index]; } -void Apply(Core::System& system) { - if (system.IsPoweredOn()) { - system.Renderer().RefreshBaseSettings(); - } - - Service::HID::ReloadInputDevices(); -} - void LogSettings() { const auto log_setting = [](std::string_view name, const auto& value) { LOG_INFO(Config, "{}: {}", name, value); |