From 34af0fff1456e3721af1691b2a135cd915ff42cd Mon Sep 17 00:00:00 2001 From: negativeExponent Date: Sun, 27 Oct 2019 00:46:50 +0800 Subject: Add "Spu Irq" core option --- frontend/libretro.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'frontend/libretro.c') diff --git a/frontend/libretro.c b/frontend/libretro.c index 987f90d..4d49087 100644 --- a/frontend/libretro.c +++ b/frontend/libretro.c @@ -1614,6 +1614,16 @@ static void update_variables(bool in_flight) Config.Cdda = 0; } + var.value = NULL; + var.key = "pcsx_rearmed_spuirq"; + if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) || var.value) + { + if (strcmp(var.value, "disabled") == 0) + Config.SpuIrq = 0; + else + Config.SpuIrq = 1; + } + #ifndef DRC_DISABLE var.value = NULL; var.key = "pcsx_rearmed_nosmccheck"; -- cgit v1.2.3