diff options
author | twinaphex | 2020-02-09 14:12:16 +0100 |
---|---|---|
committer | twinaphex | 2020-02-09 14:12:16 +0100 |
commit | 87cc59de47301ff0a2e71b5ece28447ec77b0153 (patch) | |
tree | 1e5e06618500e2392efb3ed0db651e876270b07a /frontend | |
parent | 9c9d02e498a0ec5de6ea83f58b79fb972887c650 (diff) | |
download | pcsx_rearmed-87cc59de47301ff0a2e71b5ece28447ec77b0153.tar.gz pcsx_rearmed-87cc59de47301ff0a2e71b5ece28447ec77b0153.tar.bz2 pcsx_rearmed-87cc59de47301ff0a2e71b5ece28447ec77b0153.zip |
(Android) Aarch64/x86/x64 now has lightrec support
Diffstat (limited to 'frontend')
-rw-r--r-- | frontend/libretro.c | 15 |
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) |