git.y1.nz

SameBoy

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

commit fe1e250c664872fbe755d97e6127d5ada7d4d6d4
parent 9450eb9575b8fbf7ff22efbcac473fc3a8c4d91a
Author: Lior Halphon <LIJI32@gmail.com>
Date:   Sat, 21 Feb 2026 22:19:20 +0200

Minor adjustment

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

diff --git a/Core/apu.c b/Core/apu.c @@ -2101,7 +2101,7 @@ void GB_apu_write(GB_gameboy_t *gb, uint8_t reg, uint8_t value) gb->apu.noise_channel.current_volume = gb->io_registers[GB_IO_NR42] >> 4; gb->apu.noise_channel.current_lfsr_sample = false; gb->apu.noise_channel.volume_countdown = gb->io_registers[GB_IO_NR42] & 7; - gb->apu.noise_channel.did_step_counter = false; + gb->apu.noise_channel.did_step_counter = (gb->apu.noise_channel.alignment & 3) == 2; if (gb->io_registers[GB_IO_NR42] & 0xF8) { gb->apu.is_active[GB_NOISE] = true;

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