|
|
@ -8,8 +8,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
#include "core/settings.h"
|
|
|
|
#include "core/settings.h"
|
|
|
|
|
|
|
|
|
|
|
|
#include "video_core/video_core.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ConfigureGeneral::ConfigureGeneral(QWidget *parent) :
|
|
|
|
ConfigureGeneral::ConfigureGeneral(QWidget *parent) :
|
|
|
|
QWidget(parent),
|
|
|
|
QWidget(parent),
|
|
|
|
ui(new Ui::ConfigureGeneral)
|
|
|
|
ui(new Ui::ConfigureGeneral)
|
|
|
@ -32,12 +30,8 @@ void ConfigureGeneral::setConfiguration() {
|
|
|
|
void ConfigureGeneral::applyConfiguration() {
|
|
|
|
void ConfigureGeneral::applyConfiguration() {
|
|
|
|
UISettings::values.gamedir_deepscan = ui->toogle_deepscan->isChecked();
|
|
|
|
UISettings::values.gamedir_deepscan = ui->toogle_deepscan->isChecked();
|
|
|
|
UISettings::values.confirm_before_closing = ui->toogle_check_exit->isChecked();
|
|
|
|
UISettings::values.confirm_before_closing = ui->toogle_check_exit->isChecked();
|
|
|
|
|
|
|
|
|
|
|
|
Settings::values.region_value = ui->region_combobox->currentIndex();
|
|
|
|
Settings::values.region_value = ui->region_combobox->currentIndex();
|
|
|
|
|
|
|
|
|
|
|
|
VideoCore::g_hw_renderer_enabled =
|
|
|
|
|
|
|
|
Settings::values.use_hw_renderer = ui->toogle_hw_renderer->isChecked();
|
|
|
|
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::values.use_shader_jit = ui->toogle_shader_jit->isChecked();
|
|
|
|
|
|
|
|
Settings::Apply();
|
|
|
|
}
|
|
|
|
}
|
|
|
|