Skip to content

Commit

Permalink
Merge pull request #603 from YayIguess/master
Browse files Browse the repository at this point in the history
Fix message always being logged when running ticks command
  • Loading branch information
LIJI32 authored Mar 31, 2024
2 parents e7792c1 + 66ec48e commit 7ed8fb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/debugger.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 7ed8fb1

Please sign in to comment.