X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Flibretro.c;h=8442a1502d4afc0d73edc72da773473eee5d3d0b;hb=7a8117168d6b9ad083757e013049c0e45734f3fb;hp=e071daa5b3c21fdd404646c8ee08d254d1d4b74d;hpb=9361a5aa4fef73e06bc78b7c462eb28a7d12e3d0;p=pcsx_rearmed.git diff --git a/frontend/libretro.c b/frontend/libretro.c index e071daa5..8442a150 100644 --- a/frontend/libretro.c +++ b/frontend/libretro.c @@ -1699,17 +1699,19 @@ static void update_variables(bool in_flight) else if (strcmp(var.value, "enabled") == 0) Config.RCntFix = 1; } - + +#ifdef ICACHE_EMULATION var.value = NULL; - var.key = "pcsx_rearmed_idiablofix"; + var.key = "pcsx_rearmed_icache_emulation"; if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value) { if (strcmp(var.value, "disabled") == 0) - spu_config.idiablofix = 0; + Config.icache_emulation = 0; else if (strcmp(var.value, "enabled") == 0) - spu_config.idiablofix = 1; + Config.icache_emulation = 1; } +#endif var.value = NULL; var.key = "pcsx_rearmed_inuyasha_fix";