From: Bobby Smith <33353403+bslenul@users.noreply.github.com> Date: Wed, 1 Nov 2023 18:21:20 +0000 (+0100) Subject: Add missing #if for the "Threaded SPU" core option X-Git-Tag: r24~66 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=commitdiff_plain;h=efbe0f77bf8e4d0613435cc02f025b6be0551ae6 Add missing #if for the "Threaded SPU" core option --- 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) {