git.y1.nz

SameBoy

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

commit 12891c641b0a3f148f2131544c4a012311ab3954
parent 6bd7b96ed5fb509127424a87d297f8815349369a
Author: Lior Halphon <LIJI32@gmail.com>
Date:   Sat, 21 May 2022 22:15:32 +0300

Merge pull request #453 from remind-me-later/master

fix rlc_r zero flag
Diffstat:
MCore/sm83_cpu.c2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Core/sm83_cpu.c b/Core/sm83_cpu.c @@ -1380,7 +1380,7 @@ static void rlc_r(GB_gameboy_t *gb, uint8_t opcode) if (carry) { gb->af |= GB_CARRY_FLAG; } - if (!(value << 1)) { + if (value == 0) { gb->af |= GB_ZERO_FLAG; } }

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