aboutsummaryrefslogtreecommitdiff
path: root/frontend/libretro.c
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/libretro.c')
-rw-r--r--frontend/libretro.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/frontend/libretro.c b/frontend/libretro.c
index 6f543a9..3e2c64a 100644
--- a/frontend/libretro.c
+++ b/frontend/libretro.c
@@ -59,6 +59,18 @@
#define INTERNAL_FPS_SAMPLE_PERIOD 64
+#ifdef DRC_DISABLE
+int stop;
+u32 next_interupt;
+u32 event_cycles[PSXINT_COUNT];
+int cycle_multiplier;
+int new_dynarec_hacks;
+
+void new_dyna_before_save(void) { }
+void new_dyna_after_save(void) { }
+void new_dyna_freeze(void *f, int i) { }
+#endif
+
//hack to prevent retroarch freezing when reseting in the menu but not while running with the hot key
static int rebootemu = 0;
@@ -2142,7 +2154,8 @@ static void update_variables(bool in_flight)
}
}
}
-#ifndef DRC_DISABLE
+
+#if defined(LIGHTREC) || defined(NEW_DYNAREC)
var.value = "NULL";
var.key = "pcsx_rearmed_psxclock";
if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE, &var) || var.value)