aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/main_window.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/main_window.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/main_window.cpp')
-rw-r--r--src/yuzu/main_window.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/yuzu/main_window.cpp b/src/yuzu/main_window.cpp
index 688078385a..399b3bd976 100644
--- a/src/yuzu/main_window.cpp
+++ b/src/yuzu/main_window.cpp
@@ -139,6 +139,8 @@ static FileSys::VirtualFile VfsDirectoryCreateFileWrapper(const FileSys::Virtual
#include "core/perf_stats.h"
+#include "core/crypto/key_manager.h"
+
// Input //
#include "hid_core/hid_core.h"
#include "hid_core/frontend/emulated_controller.h"
@@ -564,6 +566,9 @@ MainWindow::MainWindow(bool has_broken_vulkan)
// Check for orphaned profiles and reset profile data if necessary
QtCommon::Content::FixProfiles();
+ if (Settings::values.use_dev_keys.GetValue()) {
+ Core::Crypto::KeyManager::Instance().ReloadKeys();
+ }
game_list->LoadCompatibilityList();
game_list->PopulateAsync(UISettings::values.game_dirs);