mirror of https://github.com/LIJI32/SameBoy.git
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.
This commit is contained in:
parent
e7792c16b2
commit
66ec48e0eb
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue