summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--src/apu.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 793e82f..8bfa138 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
pocketsnes*
*.o
libretro.*
+*.so
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: