mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-09-02 17:12:50 +02:00
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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user