mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-10-12 02:08:45 +00:00
Hotkey: Add Reload Patch hotkey
This commit is contained in:
committed by
lightningterror
parent
f5524bab1b
commit
cd9fe1630b
@@ -240,6 +240,16 @@ DEFINE_HOTKEY("ResetVM", TRANSLATE_NOOP("Hotkeys", "System"), TRANSLATE_NOOP("Ho
|
||||
if (!pressed && VMManager::HasValidVM())
|
||||
VMManager::Reset();
|
||||
})
|
||||
DEFINE_HOTKEY("ReloadPatches", TRANSLATE_NOOP("Hotkeys", "System"), TRANSLATE_NOOP("Hotkeys", "Reload Patches"),
|
||||
[](s32 pressed) {
|
||||
if (!pressed && VMManager::HasValidVM())
|
||||
{
|
||||
Host::RunOnCPUThread([]() {
|
||||
Host::AddKeyedOSDMessage("ReloadPatchHotkey", "Reloading Patches...");
|
||||
VMManager::ReloadPatches(true, false, true, true);
|
||||
});
|
||||
}
|
||||
})
|
||||
DEFINE_HOTKEY("SwapMemCards", TRANSLATE_NOOP("Hotkeys", "System"),
|
||||
TRANSLATE_NOOP("Hotkeys", "Swap Memory Cards"), [](s32 pressed) {
|
||||
if (!pressed && VMManager::HasValidVM())
|
||||
|
||||
Reference in New Issue
Block a user