git.y1.nz

SameBoy

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

commit 54f45f2fd33d593f8550e529fb10f3afc7b1f932
parent 636349d5f2446055dade632bdb957e6099d6220f
Author: Lior Halphon <LIJI32@gmail.com>
Date:   Fri, 28 Jul 2023 00:47:15 +0300

Fix a bug where jump-to breakpoint disassembled the wrong address under certain scenarios

Diffstat:
MCore/debugger.c2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Core/debugger.c b/Core/debugger.c @@ -2512,8 +2512,8 @@ next_command: else { gb->non_trivial_jump_breakpoint_occured = true; GB_log(gb, "Jumping to breakpoint: PC = %s\n", value_to_string(gb, gb->pc, true)); - GB_cpu_disassemble(gb, gb->pc, 5); GB_load_state_from_buffer(gb, gb->nontrivial_jump_state, -1); + GB_cpu_disassemble(gb, gb->pc, 5); GB_debugger_break(gb); } }

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