diff options
| author | smiRaphi <neogt404@gmail.com> | 2026-03-08 22:37:20 +0100 |
|---|---|---|
| committer | crueter <crueter@eden-emu.dev> | 2026-03-08 22:37:20 +0100 |
| commit | 361e6209b2a7cbe2aec8119539f93b40f8a06213 (patch) | |
| tree | d3685568459baa98169b5fbe1d1d332884da6d9d /src/yuzu/configuration | |
| parent | 3d1a67af18128831539c24f804b112f75b0194fd (diff) | |
[settings] Add back & properly implement use_dev_keys (#3631)
Was removed recently but also wasn't really working before, this adds it to the debug UI (under the kiosk option) and also makes it properly reload the keys on launch & setting change.
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3631
Reviewed-by: crueter <crueter@eden-emu.dev>
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
Co-authored-by: smiRaphi <neogt404@gmail.com>
Co-committed-by: smiRaphi <neogt404@gmail.com>
Diffstat (limited to 'src/yuzu/configuration')
| -rw-r--r-- | src/yuzu/configuration/configure_debug.cpp | 4 | ||||
| -rw-r--r-- | src/yuzu/configuration/configure_debug.ui | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/yuzu/configuration/configure_debug.cpp b/src/yuzu/configuration/configure_debug.cpp index bc835d35a2..e0bdbaeaa1 100644 --- a/src/yuzu/configuration/configure_debug.cpp +++ b/src/yuzu/configuration/configure_debug.cpp @@ -12,6 +12,7 @@ #include "common/logging/filter.h" #include "common/settings.h" #include "core/core.h" +#include "core/crypto/key_manager.h" #include "ui_configure_debug.h" #include "yuzu/configuration/configure_debug.h" #include "yuzu/debugger/console.h" @@ -45,6 +46,7 @@ void ConfigureDebug::SetConfiguration() { ui->reporting_services->setChecked(Settings::values.reporting_services.GetValue()); ui->dump_audio_commands->setChecked(Settings::values.dump_audio_commands.GetValue()); ui->quest_flag->setChecked(Settings::values.quest_flag.GetValue()); + ui->use_dev_keys->setChecked(Settings::values.use_dev_keys.GetValue()); ui->use_debug_asserts->setChecked(Settings::values.use_debug_asserts.GetValue()); ui->use_auto_stub->setChecked(Settings::values.use_auto_stub.GetValue()); ui->enable_all_controllers->setChecked(Settings::values.enable_all_controllers.GetValue()); @@ -105,6 +107,7 @@ void ConfigureDebug::ApplyConfiguration() { Settings::values.reporting_services = ui->reporting_services->isChecked(); Settings::values.dump_audio_commands = ui->dump_audio_commands->isChecked(); Settings::values.quest_flag = ui->quest_flag->isChecked(); + Settings::values.use_dev_keys = ui->use_dev_keys->isChecked(); Settings::values.use_debug_asserts = ui->use_debug_asserts->isChecked(); Settings::values.use_auto_stub = ui->use_auto_stub->isChecked(); Settings::values.enable_all_controllers = ui->enable_all_controllers->isChecked(); @@ -126,6 +129,7 @@ void ConfigureDebug::ApplyConfiguration() { Common::Log::Filter filter; filter.ParseFilterString(Settings::values.log_filter.GetValue()); Common::Log::SetGlobalFilter(filter); + Core::Crypto::KeyManager::Instance().ReloadKeys(); } void ConfigureDebug::changeEvent(QEvent* event) { diff --git a/src/yuzu/configuration/configure_debug.ui b/src/yuzu/configuration/configure_debug.ui index 1b1423b62c..f76f3b012d 100644 --- a/src/yuzu/configuration/configure_debug.ui +++ b/src/yuzu/configuration/configure_debug.ui @@ -435,6 +435,13 @@ </property> </widget> </item> + <item row="1" column="0"> + <widget class="QCheckBox" name="use_dev_keys"> + <property name="text"> + <string>Use dev.keys</string> + </property> + </widget> + </item> <item row="2" column="0"> <widget class="QCheckBox" name="use_debug_asserts"> <property name="text"> |
