git.y1.nz

SameBoy

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

commit e04dcd90d6b3493ef1a29efc37a4dd4db1a184bf
parent 94776fcf8c2a99aebdbd654dfbf06bb73e11c38a
Author: Lior Halphon <LIJI32@gmail.com>
Date:   Tue, 19 Oct 2021 01:56:10 +0300

Fix APU command

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

diff --git a/Core/debugger.c b/Core/debugger.c @@ -1799,7 +1799,7 @@ static bool apu(GB_gameboy_t *gb, char *arguments, char *modifiers, const debugg GB_log(gb, " Wave:"); for (uint8_t i = 0; i < 16; i++) { GB_log(gb, "%s%X", i % 2? "" : " ", gb->io_registers[GB_IO_WAV_START + i] >> 4); - GB_log(gb, "%s%X", i % 2? "" : " ", gb->io_registers[GB_IO_WAV_START + i] & 0xF); + GB_log(gb, "%X", gb->io_registers[GB_IO_WAV_START + i] & 0xF); } GB_log(gb, "\n"); GB_log(gb, " Current position: %u\n", gb->apu.wave_channel.current_sample_index);

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