mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Qt/debugger: only consider debugger hotkeys if debugging is enabled
This commit is contained in:
@ -213,6 +213,8 @@ void HotkeyScheduler::Run()
|
||||
IsHotkey(HK_TRIGGER_SYNC_BUTTON, true));
|
||||
}
|
||||
|
||||
if (SConfig::GetInstance().bEnableDebugging)
|
||||
{
|
||||
if (IsHotkey(HK_STEP))
|
||||
emit Step();
|
||||
|
||||
@ -236,6 +238,7 @@ void HotkeyScheduler::Run()
|
||||
|
||||
if (IsHotkey(HK_BP_ADD))
|
||||
emit AddBreakpoint();
|
||||
}
|
||||
|
||||
// TODO: HK_MBP_ADD
|
||||
|
||||
|
Reference in New Issue
Block a user