mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-16 13:08:57 +02:00
[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:
parent
3d1a67af18
commit
361e6209b2
6 changed files with 32 additions and 4 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue