diff --git a/platforms/desktop-shared/gui.cpp b/platforms/desktop-shared/gui.cpp index 5bedc0a..d99b0e8 100644 --- a/platforms/desktop-shared/gui.cpp +++ b/platforms/desktop-shared/gui.cpp @@ -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;