[snes9x2005 non-plus] Fix audio pitch issues (FF6)

This commit is contained in:
jdgleaver 2018-12-18 12:48:32 +00:00
parent f4a5a7afa4
commit 400a96024c
2 changed files with 3 additions and 2 deletions

3
.gitignore vendored
View File

@ -7,4 +7,5 @@
depend
[Tt]humbs.db
expsfc.*
EXPSFC/
EXPSFC/
*.so

View File

@ -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: