From 30352c8da713c2f344b8c4f8979067b04369cb7e Mon Sep 17 00:00:00 2001 From: jdgleaver Date: Tue, 18 Dec 2018 16:49:23 +0000 Subject: Fix audio pitch issues (FF6) (#29) * Fix audio pitch issues (FF6) * Remove compilted binary, update .gitignore to ignore shared objects --- .gitignore | 1 + src/apu.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 793e82f..8bfa138 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ pocketsnes* *.o libretro.* +*.so diff --git a/src/apu.c b/src/apu.c index e2316d3..0fa888a 100644 --- a/src/apu.c +++ b/src/apu.c @@ -670,7 +670,7 @@ void S9xSetAPUDSP(uint8 byte) case APU_P_LOW + 0x50: case APU_P_LOW + 0x60: case APU_P_LOW + 0x70: - S9xSetSoundHertz(reg >> 4, (((byte + (APU.DSP [reg + 1] << 8)) & FREQUENCY_MASK) * 32000) >> 12); + S9xSetSoundHertz(reg >> 4, ((byte + (APU.DSP [reg + 1] << 8)) & FREQUENCY_MASK) * 8); break; case APU_P_HIGH + 0x00: -- cgit v1.2.3