notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #292 from pcercuei/dfsound-big-endian
[pcsx_rearmed.git]
/
frontend
/
libretro.c
diff --git
a/frontend/libretro.c
b/frontend/libretro.c
index
3e74b23
..
f4b23cd
100644
(file)
--- a/
frontend/libretro.c
+++ b/
frontend/libretro.c
@@
-2074,6
+2074,16
@@
static void update_variables(bool in_flight)
spu_config.iUseInterpolation = 0;
}
spu_config.iUseInterpolation = 0;
}
+ var.value = NULL;
+ var.key = "pcsx_rearmed_spu_thread";
+ if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value)
+ {
+ if (strcmp(var.value, "enabled") == 0)
+ spu_config.iUseThread = 1;
+ else
+ spu_config.iUseThread = 0;
+ }
+
#ifndef _WIN32
var.value = NULL;
var.key = "pcsx_rearmed_async_cd";
#ifndef _WIN32
var.value = NULL;
var.key = "pcsx_rearmed_async_cd";