aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/configuration/configure_debug.cpp
diff options
context:
space:
mode:
authorsmiRaphi <neogt404@gmail.com>2026-03-08 22:37:20 +0100
committercrueter <crueter@eden-emu.dev>2026-03-08 22:37:20 +0100
commit361e6209b2a7cbe2aec8119539f93b40f8a06213 (patch)
treed3685568459baa98169b5fbe1d1d332884da6d9d /src/yuzu/configuration/configure_debug.cpp
parent3d1a67af18128831539c24f804b112f75b0194fd (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/configure_debug.cpp')
-rw-r--r--src/yuzu/configuration/configure_debug.cpp4
1 files changed, 4 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) {