Skip to content

Commit

Permalink
Copy/paste on debugger only
Browse files Browse the repository at this point in the history
  • Loading branch information
drhelius committed Dec 16, 2024
1 parent 762c83d commit 43b242e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions platforms/desktop-shared/gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,12 @@ void gui_shortcut(gui_ShortCutEvent event)
gui_debug_go_back();
break;
case gui_ShortcutDebugCopy:
gui_debug_copy_memory();
if (config_debug.debug)
gui_debug_copy_memory();
break;
case gui_ShortcutDebugPaste:
gui_debug_paste_memory();
if (config_debug.debug)
gui_debug_paste_memory();
break;
case gui_ShortcutShowMainMenu:
config_emulator.show_menu = !config_emulator.show_menu;
Expand Down

0 comments on commit 43b242e

Please sign in to comment.