diff --git a/src/citra_qt/configure_general.cpp b/src/citra_qt/configure_general.cpp index 27139fb30..bc3805022 100644 --- a/src/citra_qt/configure_general.cpp +++ b/src/citra_qt/configure_general.cpp @@ -23,13 +23,11 @@ void ConfigureGeneral::setConfiguration() { ui->toggle_deepscan->setChecked(UISettings::values.gamedir_deepscan); ui->toggle_check_exit->setChecked(UISettings::values.confirm_before_closing); ui->toggle_cpu_jit->setChecked(Settings::values.use_cpu_jit); - ui->region_combobox->setCurrentIndex(Settings::values.region_value); } void ConfigureGeneral::applyConfiguration() { UISettings::values.gamedir_deepscan = ui->toggle_deepscan->isChecked(); UISettings::values.confirm_before_closing = ui->toggle_check_exit->isChecked(); - Settings::values.region_value = ui->region_combobox->currentIndex(); Settings::values.use_cpu_jit = ui->toggle_cpu_jit->isChecked(); Settings::Apply(); } diff --git a/src/citra_qt/configure_general.ui b/src/citra_qt/configure_general.ui index 81688113f..a86dc6e34 100644 --- a/src/citra_qt/configure_general.ui +++ b/src/citra_qt/configure_general.ui @@ -6,7 +6,7 @@ 0 0 - 300 + 316 377 @@ -43,83 +43,20 @@ - - - - Performance - - - - - - - - Enable CPU JIT - - - - - - - - - + - Emulation + Performance - + - + - - - - - Region: - - - - - - - - JPN - - - - - USA - - - - - EUR - - - - - AUS - - - - - CHN - - - - - KOR - - - - - TWN - - - - - + + + Enable CPU JIT + + diff --git a/src/citra_qt/configure_system.cpp b/src/citra_qt/configure_system.cpp index 873d314ec..af7d6272a 100644 --- a/src/citra_qt/configure_system.cpp +++ b/src/citra_qt/configure_system.cpp @@ -6,6 +6,7 @@ #include "citra_qt/ui_settings.h" #include "core/hle/service/cfg/cfg.h" #include "core/hle/service/fs/archive.h" +#include "core/settings.h" #include "core/system.h" #include "ui_configure_system.h" @@ -46,6 +47,7 @@ void ConfigureSystem::setConfiguration() { ReadSystemSettings(); ui->label_disable_info->hide(); } + ui->combo_region-setCurrentIndex(Settings::values.region_value); } void ConfigureSystem::ReadSystemSettings() { @@ -97,6 +99,9 @@ void ConfigureSystem::applyConfiguration() { modified = true; } + // apply region + Settings::values.region_value = ui->combo_region->currentIndex(); + // apply language int new_language = ui->combo_language->currentIndex(); if (language_index != new_language) { diff --git a/src/citra_qt/configure_system.ui b/src/citra_qt/configure_system.ui index 6a906b61b..7af0151de 100644 --- a/src/citra_qt/configure_system.ui +++ b/src/citra_qt/configure_system.ui @@ -6,7 +6,7 @@ 0 0 - 360 + 413 377 @@ -22,13 +22,6 @@ System Settings - - - - Username - - - @@ -42,13 +35,6 @@ - - - - Birthday - - - @@ -120,14 +106,28 @@ - + + + + Sound output mode + + + + + + + Birthday + + + + Language - + @@ -191,14 +191,7 @@ - - - - Sound output mode - - - - + @@ -217,6 +210,59 @@ + + + + Username + + + + + + + Region + + + + + + + + JPN + + + + + USA + + + + + EUR + + + + + AUS + + + + + CHN + + + + + KOR + + + + + TWN + + + + @@ -247,6 +293,14 @@ + + edit_username + combo_birthmonth + combo_birthday + combo_region + combo_language + combo_sound +