- This PR fixes core options and moves them to the related dynarec modes where they are implemented.
LIGHTREC = relates to platforms that supports the new Lightrec mode
NEW_DYNAREC = relates to previous dynarec implementation that is still used for some 32bit devices
- Dynarec Recompiler core option, both dynarec implementation can be enabled or disabled
break;
}
- return environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, var) || var->value;
+ return environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, var) && var->value;
}
static void update_controller_port_variable(unsigned port)
display_internal_fps = true;
}
-#ifndef DRC_DISABLE
+#if defined(LIGHTREC) || defined(NEW_DYNAREC)
var.value = NULL;
var.key = "pcsx_rearmed_drc";
psxCpu->Reset(); // not really a reset..
}
}
-#endif
+#endif /* LIGHTREC || NEW_DYNAREC */
var.value = NULL;
var.key = "pcsx_rearmed_spu_reverb";
Config.SpuIrq = 1;
}
-#ifndef DRC_DISABLE
+#ifdef NEW_DYNAREC
var.value = NULL;
var.key = "pcsx_rearmed_nosmccheck";
if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value)
else
new_dynarec_hacks &= ~NDHACK_GTE_NO_FLAGS;
}
-#endif
+#endif /* NEW_DYNAREC */
#ifdef GPU_PEOPS
var.value = NULL;
}
}
-#if defined(LIGHTREC) || defined(NEW_DYNAREC)
+#ifdef NEW_DYNAREC
var.value = NULL;
var.key = "pcsx_rearmed_psxclock";
if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) && var.value)
#endif
},
-#ifndef DRC_DISABLE
+#if defined(LIGHTREC) || defined(NEW_DYNAREC)
{
"pcsx_rearmed_drc",
"Dynamic Recompiler",
},
"enabled",
},
+#endif /* LIGHTREC || NEW_DYNAREC */
+
+#ifdef NEW_DYNAREC
{
"pcsx_rearmed_psxclock",
"PSX CPU Clock",
"57",
#endif
},
-#endif /* DRC_DISABLE */
+#endif /* NEW_DYNAREC */
#ifdef GPU_NEON
{
"disabled",
},
-#ifndef DRC_DISABLE
+#ifdef NEW_DYNAREC
{
"pcsx_rearmed_nosmccheck",
"(Speed Hack) Disable SMC Checks",
},
"disabled",
},
-#endif /* DRC_DISABLE */
+#endif /* NEW_DYNAREC */
{ NULL, NULL, NULL, {{0}}, NULL },
};
NULL
},
-#ifndef DRC_DISABLE
+#ifdef NEW_DYNAREC
{
"pcsx_rearmed_drc",
"Dinamik Yeniden Derleyici",
},
NULL
},
-#endif /* DRC_DISABLE */
+#endif /* NEW_DYNAREC */
#ifdef __ARM_NEON__
{
},
/* GPU PEOPS OPTIONS */
-#ifdef DRC_DISABLE
+#ifdef GPU_PEOPS
{
"pcsx_rearmed_show_gpu_peops_settings",
"Gelişmiş GPU Ayarlarını Göster",
},
NULL
},
-#endif
+#endif /* GPU_PEOPS */
{
"pcsx_rearmed_show_bios_bootlogo",
NULL
},
-#ifndef DRC_DISABLE
+#ifdef NEW_DYNAREC
{
"pcsx_rearmed_nosmccheck",
"(Speed Hack) SMC Kontrollerini Devre Dışı Bırak",
},
NULL
},
-#endif /* DRC_DISABLE */
+#endif /* NEW_DYNAREC */
{ NULL, NULL, NULL, {{0}}, NULL },
};
-#define NEW_DYNAREC 1
+/* #define NEW_DYNAREC 1 */
extern int pcaddr;
extern int pending_exception;