mirror of
https://github.com/libretro/snes9x2005.git
synced 2024-11-26 18:10:36 +00:00
[snes9x2005 non-plus] Fix audio pitch issues (FF6)
This commit is contained in:
parent
f4a5a7afa4
commit
400a96024c
3
.gitignore
vendored
3
.gitignore
vendored
@ -7,4 +7,5 @@
|
||||
depend
|
||||
[Tt]humbs.db
|
||||
expsfc.*
|
||||
EXPSFC/
|
||||
EXPSFC/
|
||||
*.so
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user