Undo is stopped only

This commit is contained in:
Lior Halphon 2022-01-22 01:11:50 +02:00
parent 56b14c67aa
commit 582a5588ba

View File

@ -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) static bool undo(GB_gameboy_t *gb, char *arguments, char *modifiers, const debugger_command_t *command)
{ {
NO_MODIFIERS NO_MODIFIERS
STOPPED_ONLY
if (strlen(lstrip(arguments))) { if (strlen(lstrip(arguments))) {
print_usage(gb, command); print_usage(gb, command);
return true; return true;