diff options
author | bunnei <bunneidev@gmail.com> | 2021-04-15 02:47:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-15 02:47:18 +0200 |
commit | de5bf640b7309450357074083a9ac397f251adbc (patch) | |
tree | e7c9b9845f7751c2cc4a00dbf05798ff2a69490d /src/common/settings.cpp | |
parent | Merge pull request #6197 from ameerj/kreslimit-cleanup (diff) | |
parent | common: Move settings to common from core. (diff) | |
download | yuzu-de5bf640b7309450357074083a9ac397f251adbc.tar yuzu-de5bf640b7309450357074083a9ac397f251adbc.tar.gz yuzu-de5bf640b7309450357074083a9ac397f251adbc.tar.bz2 yuzu-de5bf640b7309450357074083a9ac397f251adbc.tar.lz yuzu-de5bf640b7309450357074083a9ac397f251adbc.tar.xz yuzu-de5bf640b7309450357074083a9ac397f251adbc.tar.zst yuzu-de5bf640b7309450357074083a9ac397f251adbc.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); |