From 0a6d48d108c34ad6acee8b367decd56eddb0af9b Mon Sep 17 00:00:00 2001 From: iota97 Date: Wed, 1 Feb 2023 15:53:20 +0100 Subject: [PATCH] fix restore, was not working on my machine (TM) --- Core/Config.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Core/Config.cpp b/Core/Config.cpp index 618a2be5bc..bc9d87f244 100644 --- a/Core/Config.cpp +++ b/Core/Config.cpp @@ -1797,8 +1797,7 @@ void Config::RestoreDefaults(RestoreSettingsBits whatToRestore) { } if (whatToRestore & RestoreSettingsBits::CONTROLS) { - if (File::Exists(controllerIniFilename_)) - File::Delete(controllerIniFilename_); + KeyMap::RestoreDefault(); } if (whatToRestore & RestoreSettingsBits::RECENT) {