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: r24l~81 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a3cf42bb7e90fc3811593159c2ba9308f4d1dbb;p=pcsx_rearmed.git 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) {