From efbe0f77bf8e4d0613435cc02f025b6be0551ae6 Mon Sep 17 00:00:00 2001 From: Bobby Smith <33353403+bslenul@users.noreply.github.com> Date: Wed, 1 Nov 2023 19:21:20 +0100 Subject: [PATCH] Add missing #if for the "Threaded SPU" core option --- frontend/libretro.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/libretro.c b/frontend/libretro.c index c7439dd4..c47d260b 100644 --- a/frontend/libretro.c +++ b/frontend/libretro.c @@ -2240,6 +2240,7 @@ static void update_variables(bool in_flight) spu_config.iUseInterpolation = 0; } +#if P_HAVE_PTHREAD var.value = NULL; var.key = "pcsx_rearmed_spu_thread"; if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value) @@ -2249,6 +2250,7 @@ static void update_variables(bool in_flight) else spu_config.iUseThread = 0; } +#endif #if 0 // currently disabled, see USE_READ_THREAD in libpcsxcore/cdriso.c if (P_HAVE_PTHREAD) { -- 2.39.2