mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-15 15:18:01 -05:00
CitraQt: Apply config at startup
This commit is contained in:
@ -8,8 +8,6 @@
|
||||
|
||||
#include "core/settings.h"
|
||||
|
||||
#include "video_core/video_core.h"
|
||||
|
||||
ConfigureGeneral::ConfigureGeneral(QWidget *parent) :
|
||||
QWidget(parent),
|
||||
ui(new Ui::ConfigureGeneral)
|
||||
@ -32,12 +30,8 @@ void ConfigureGeneral::setConfiguration() {
|
||||
void ConfigureGeneral::applyConfiguration() {
|
||||
UISettings::values.gamedir_deepscan = ui->toogle_deepscan->isChecked();
|
||||
UISettings::values.confirm_before_closing = ui->toogle_check_exit->isChecked();
|
||||
|
||||
Settings::values.region_value = ui->region_combobox->currentIndex();
|
||||
|
||||
VideoCore::g_hw_renderer_enabled =
|
||||
Settings::values.use_hw_renderer = ui->toogle_hw_renderer->isChecked();
|
||||
|
||||
VideoCore::g_shader_jit_enabled =
|
||||
Settings::values.use_shader_jit = ui->toogle_shader_jit->isChecked();
|
||||
Settings::Apply();
|
||||
}
|
||||
|
Reference in New Issue
Block a user