From: Justin Weiss Date: Sat, 21 Sep 2019 23:49:45 +0000 (-0700) Subject: Fix sound over-buffering on 3ds X-Git-Tag: r24l~699^2 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbb541fb7c3330ca1184d059bbe358059c2138f6;p=pcsx_rearmed.git Fix sound over-buffering on 3ds With iTempo turned on, we generate a frame and a half of sound data each frame, which causes dropped sound frames and noise. It looks like GPH hacks are disabled for 3ds in other places, so disabling it here too seemed like the correct fix. --- diff --git a/frontend/main.c b/frontend/main.c index 81a68e3e..aabed493 100644 --- a/frontend/main.c +++ b/frontend/main.c @@ -144,7 +144,7 @@ void emu_set_default_config(void) spu_config.iVolume = 768; spu_config.iTempo = 0; spu_config.iUseThread = 1; // no effect if only 1 core is detected -#ifdef HAVE_PRE_ARMV7 /* XXX GPH hack */ +#if defined(HAVE_PRE_ARMV7) && !defined(_3DS) /* XXX GPH hack */ spu_config.iUseReverb = 0; spu_config.iUseInterpolation = 0; spu_config.iTempo = 1;