git.y1.nz

SameBoy

Accurate GB/GBC emulator
download: https://git.y1.nz/archives/sameboy.tar.gz
README | Files | Log | Refs | LICENSE

commit 7ed8fb1de99d580120d2ee347b7a58702783fe57
parent e7792c16b24c08f55a370973f0beaecb7bd0ab92
Author: Lior Halphon <LIJI32@gmail.com>
Date:   Sun, 31 Mar 2024 14:04:28 +0300

Merge pull request #603 from YayIguess/master

Fix message always being logged when running ticks command
Diffstat:
MCore/debugger.c2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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; }

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.