summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjdgleaver2018-12-18 16:49:23 +0000
committerhizzlekizzle2018-12-18 10:49:23 -0600
commit30352c8da713c2f344b8c4f8979067b04369cb7e (patch)
tree60c2d29ce2ec58c4d94801508734631681e104c5 /src
parent142b0ed8aa7487f73d401736d3b24ce6e851a060 (diff)
downloadsnes9x2002-30352c8da713c2f344b8c4f8979067b04369cb7e.tar.gz
snes9x2002-30352c8da713c2f344b8c4f8979067b04369cb7e.tar.bz2
snes9x2002-30352c8da713c2f344b8c4f8979067b04369cb7e.zip
Fix audio pitch issues (FF6) (#29)
* Fix audio pitch issues (FF6) * Remove compilted binary, update .gitignore to ignore shared objects
Diffstat (limited to 'src')
-rw-r--r--src/apu.c2
1 files changed, 1 insertions, 1 deletions
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: