git.y1.nz

SameBoy

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

commit 58df8144ec83c3e8917983d2b9d6a9c8d1e4009f
parent 16913f925bf62beb5598d54035cd3854eb96d27d
Author: Lior Halphon <LIJI32@gmail.com>
Date:   Sat, 25 Jun 2022 01:44:50 +0300

Fix audio artifacts in the SGB jingle

Diffstat:
MCore/apu.c2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/Core/apu.c b/Core/apu.c @@ -225,6 +225,8 @@ static void render(GB_gameboy_t *gb) gb->apu_output.last_update[i] = 0; } gb->apu_output.cycles_since_render = 0; + + if (gb->sgb && gb->sgb->intro_animation < GB_SGB_INTRO_ANIMATION_LENGTH) return; GB_sample_t filtered_output = gb->apu_output.highpass_mode? (GB_sample_t) {output.left - gb->apu_output.highpass_diff.left,

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