X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Flibretro.c;h=32d0bec3679f6cee2de2cdb20bf2698223fc9cff;hb=bc7c5acb6eb1ac9adc6b4381a2c2b2baffd5aebe;hp=21189d6fa85d698e959ba8958c114ceea6d2b574;hpb=f9ae4f29a408556f4b1d0f843995b389e66608c5;p=pcsx_rearmed.git diff --git a/frontend/libretro.c b/frontend/libretro.c index 21189d6f..32d0bec3 100644 --- a/frontend/libretro.c +++ b/frontend/libretro.c @@ -2047,6 +2047,16 @@ static void update_variables(bool in_flight) Config.icache_emulation = 1; } + var.value = NULL; + var.key = "pcsx_rearmed_exception_emulation"; + if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value) + { + if (strcmp(var.value, "enabled") == 0) + Config.PreciseExceptions = 1; + else + Config.PreciseExceptions = 0; + } + psxCpu->ApplyConfig(); // end of CPU emu config