From 400a96024c5ce333b1a6b862b13159cfaaf0498b Mon Sep 17 00:00:00 2001 From: jdgleaver Date: Tue, 18 Dec 2018 12:48:32 +0000 Subject: [snes9x2005 non-plus] Fix audio pitch issues (FF6) --- source/apu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') diff --git a/source/apu.c b/source/apu.c index 1c9a758..eb6fcb6 100644 --- a/source/apu.c +++ b/source/apu.c @@ -243,7 +243,7 @@ void S9xSetAPUDSP(uint8_t byte) case APU_P_LOW + 0x50: case APU_P_LOW + 0x60: case APU_P_LOW + 0x70: - S9xSetSoundHertz(reg >> 4, ((((int16_t) byte + ((int16_t) APU.DSP [reg + 1] << 8)) & FREQUENCY_MASK) * 32000) >> 12); + S9xSetSoundHertz(reg >> 4, (((int16_t) byte + ((int16_t) APU.DSP [reg + 1] << 8)) & FREQUENCY_MASK) * 8); break; case APU_P_HIGH + 0x00: case APU_P_HIGH + 0x10: -- cgit v1.2.3