common: Move settings to common from core.

- Removes a dependency on core and input_common from common.
This commit is contained in:
bunnei
2021-04-14 16:07:40 -07:00
parent c6c0771b12
commit a4c6712a4b
116 changed files with 144 additions and 146 deletions

View File

@ -9,8 +9,8 @@
#include <QDirIterator>
#include "common/common_types.h"
#include "common/file_util.h"
#include "common/settings.h"
#include "core/core.h"
#include "core/settings.h"
#include "ui_configure_ui.h"
#include "yuzu/configuration/configure_ui.h"
#include "yuzu/uisettings.h"
@ -85,7 +85,7 @@ void ConfigureUi::ApplyConfiguration() {
UISettings::values.enable_screenshot_save_as = ui->enable_screenshot_save_as->isChecked();
Common::FS::GetUserPath(Common::FS::UserPath::ScreenshotsDir,
ui->screenshot_path_edit->text().toStdString());
Settings::Apply(Core::System::GetInstance());
Core::System::GetInstance().ApplySettings();
}
void ConfigureUi::RequestGameListUpdate() {