git.y1.nz

SameBoy

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

commit ea97c1dc0b596204ba546583e8912ae8b7073865
parent d2ed1343e5ef890f3ec9377941af25453cfe46b5
Author: Lior Halphon <LIJI32@gmail.com>
Date:   Mon,  1 Mar 2021 21:44:54 +0200

Fix an APU regression that caused some games in DMG mode to play in the wrong pitch

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

diff --git a/Core/apu.c b/Core/apu.c @@ -596,7 +596,7 @@ void GB_apu_run(GB_gameboy_t *gb) else { /* Split it into two */ cycles -= gb->apu.channel_4_dmg_delayed_start; - gb->apu.apu_cycles = gb->apu.channel_4_dmg_delayed_start * 2; + gb->apu.apu_cycles = gb->apu.channel_4_dmg_delayed_start * 4; GB_apu_run(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.