aboutsummaryrefslogtreecommitdiff
path: root/source/nds
diff options
context:
space:
mode:
authorNebuleon Fumika2013-01-17 21:12:23 -0500
committerNebuleon Fumika2013-01-17 21:12:23 -0500
commit4b642ccd3d27def735098db3f755a9d3b07c4dc1 (patch)
tree0f7c8ca116aa163d7eb9e11af3838a50a153d647 /source/nds
parent1bc1dfc1abf71795c43fe7abb2db487a70c524b2 (diff)
downloadsnes9x2005-4b642ccd3d27def735098db3f755a9d3b07c4dc1.tar.gz
snes9x2005-4b642ccd3d27def735098db3f755a9d3b07c4dc1.tar.bz2
snes9x2005-4b642ccd3d27def735098db3f755a9d3b07c4dc1.zip
Lower the timer interrupt interval to 13.3 milliseconds to avoid underflows (silences).
Diffstat (limited to 'source/nds')
-rw-r--r--source/nds/ds2sound.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nds/ds2sound.h b/source/nds/ds2sound.h
index d8cfe09..b9cf5ae 100644
--- a/source/nds/ds2sound.h
+++ b/source/nds/ds2sound.h
@@ -14,7 +14,7 @@
// underflows.
// * not exactly 16667 (NTSC 60 FPS) or 20000 (PAL 50 FPS), because then
// the automatic frame skipper will be extremely messed up.
-#define INTERRUPT_TIME_4 15360 /* 15360 tested working */
+#define INTERRUPT_TIME_4 13312 /* 15360 tested working, but underflows */
#define INTERRUPT_TIME_5 8000 /* like the SNES! tested working, but slow */
#define INTERRUPT_TIME_6 4000 /* tested working, slow because of upsampling */
#define INTERRUPT_TIME_7 4000 /* tested working, slow because of upsampling */