[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>
This commit is contained in:
smiRaphi 2026-03-08 22:37:20 +01:00 committed by crueter
parent 3d1a67af18
commit 361e6209b2
No known key found for this signature in database
GPG key ID: 425ACD2D4830EBC6
6 changed files with 32 additions and 4 deletions

View file

@ -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);