From 66ec48e0eb97838421dfe4d070a8cb6935a08cd3 Mon Sep 17 00:00:00 2001 From: Braiden Gent <14262204+YayIguess@users.noreply.github.com> Date: Fri, 22 Mar 2024 03:47:33 -0700 Subject: [PATCH] Don't tell user tick count has been reset if they've kept the value "Tick count reset." is currently logged even if the user supplied the 'keep' argument. --- Core/debugger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/debugger.c b/Core/debugger.c index 191b88e..7c9634c 100644 --- a/Core/debugger.c +++ b/Core/debugger.c @@ -1702,8 +1702,8 @@ static bool ticks(GB_gameboy_t *gb, char *arguments, char *modifiers, const debu GB_log(gb, "T-cycles: %llu\n", (unsigned long long)gb->debugger_ticks); GB_log(gb, "M-cycles: %llu\n", (unsigned long long)gb->debugger_ticks / 4); GB_log(gb, "Absolute 8MHz ticks: %llu\n", (unsigned long long)gb->absolute_debugger_ticks); - GB_log(gb, "Tick count reset.\n"); if (!keep) { + GB_log(gb, "Tick count reset.\n"); gb->debugger_ticks = 0; gb->absolute_debugger_ticks = 0; }