From 582a5588baefc2381ecc9e5fa39b1ec5d6b7c410 Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Sat, 22 Jan 2022 01:11:50 +0200 Subject: [PATCH] Undo is stopped only --- Core/debugger.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Core/debugger.c b/Core/debugger.c index bfbe451..a1bcd01 100644 --- a/Core/debugger.c +++ b/Core/debugger.c @@ -1924,6 +1924,8 @@ static bool wave(GB_gameboy_t *gb, char *arguments, char *modifiers, const debug static bool undo(GB_gameboy_t *gb, char *arguments, char *modifiers, const debugger_command_t *command) { NO_MODIFIERS + STOPPED_ONLY + if (strlen(lstrip(arguments))) { print_usage(gb, command); return true;