diff options
Diffstat (limited to 'source/soundux.cpp')
-rw-r--r-- | source/soundux.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/soundux.cpp b/source/soundux.cpp index dde8a14..c20f366 100644 --- a/source/soundux.cpp +++ b/source/soundux.cpp @@ -1233,6 +1233,15 @@ static inline void MixMono (int sample_count) for (uint32 I = 0; I < (uint32) sample_count; I++) { +#ifdef ACCUMULATE_JOYPAD +/* + * This call allows NDSSFC to synchronise the DS controller more often. + * If porting a later version of Snes9x into NDSSFC, it is essential to + * preserve it. + */ + if ((I & 0x7F) == 0x7F) + NDSSFCAccumulateJoypad (); +#endif unsigned long freq = freq0; if (mod) |