X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Flibretro.c;h=4d4908751ed97e6603108cf654968656cf33c81c;hb=be2b71324715fa4657b67861bbff3cbc2a5860a3;hp=987f90deaf8c50b43d70b31458b323667ab6c5d8;hpb=4b353f8adc434d4168df88bca58e793becaa891b;p=pcsx_rearmed.git diff --git a/frontend/libretro.c b/frontend/libretro.c index 987f90de..4d490875 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";