We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4a5a7a commit 400a960Copy full SHA for 400a960
.gitignore
@@ -7,4 +7,5 @@
7
depend
8
[Tt]humbs.db
9
expsfc.*
10
-EXPSFC/
+EXPSFC/
11
+*.so
source/apu.c
@@ -243,7 +243,7 @@ void S9xSetAPUDSP(uint8_t byte)
243
case APU_P_LOW + 0x50:
244
case APU_P_LOW + 0x60:
245
case APU_P_LOW + 0x70:
246
- 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);
247
break;
248
case APU_P_HIGH + 0x00:
249
case APU_P_HIGH + 0x10:
0 commit comments