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
if (dir == NULL)
return false;
- for (i = 0; sizeof(substrings) / sizeof(substrings[0]); i++)
+ for (i = 0; i < (sizeof(substrings) / sizeof(substrings[0])); i++)
{
const char *substr = substrings[i];
size_t len = strlen(substr);