From bbb541fb7c3330ca1184d059bbe358059c2138f6 Mon Sep 17 00:00:00 2001 From: Justin Weiss Date: Sat, 21 Sep 2019 16:49:45 -0700 Subject: [PATCH] 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. --- frontend/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2