notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81574ac
)
Add missing #if for the "Threaded SPU" core option
author
Bobby Smith
<33353403+bslenul@users.noreply.github.com>
Wed, 1 Nov 2023 18:21:20 +0000
(19:21 +0100)
committer
notaz
<notasas@gmail.com>
Wed, 1 Nov 2023 20:45:53 +0000
(22:45 +0200)
frontend/libretro.c
patch
|
blob
|
blame
|
history
diff --git
a/frontend/libretro.c
b/frontend/libretro.c
index
c7439dd
..
c47d260
100644
(file)
--- 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) {