diff options
author | jdgleaver | 2018-12-18 16:49:23 +0000 |
---|---|---|
committer | hizzlekizzle | 2018-12-18 10:49:23 -0600 |
commit | 30352c8da713c2f344b8c4f8979067b04369cb7e (patch) | |
tree | 60c2d29ce2ec58c4d94801508734631681e104c5 /src | |
parent | 142b0ed8aa7487f73d401736d3b24ce6e851a060 (diff) | |
download | snes9x2002-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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:
|