X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Flightrec%2Fplugin.c;h=64b353dd4a1ed7d19580aa3dc452b7ee73454fb0;hb=f2100c3de4f1a2fcf86fb458b56d5c2978f1692f;hp=dd7cc73c824e48d2229674cac9b85fc971a6ed1b;hpb=f3bc907d1c52296bee57a0a91f7f6e8e51c487e1;p=pcsx_rearmed.git diff --git a/libpcsxcore/lightrec/plugin.c b/libpcsxcore/lightrec/plugin.c index dd7cc73c..64b353dd 100644 --- a/libpcsxcore/lightrec/plugin.c +++ b/libpcsxcore/lightrec/plugin.c @@ -12,6 +12,7 @@ #include "../psxhw.h" #include "../psxmem.h" #include "../r3000a.h" +#include "../psxinterpreter.h" #include "../new_dynarec/events.h" #include "../frontend/main.h" @@ -420,8 +421,6 @@ static int lightrec_plugin_init(void) return 0; } -extern void intExecuteBlock(); - static void lightrec_plugin_execute_internal(bool block_only) { struct lightrec_registers *regs; @@ -436,7 +435,7 @@ static void lightrec_plugin_execute_internal(bool block_only) next_interupt = psxRegs.cycle; if (use_pcsx_interpreter) { - intExecuteBlock(); + intExecuteBlock(0); } else { lightrec_reset_cycle_count(lightrec_state, psxRegs.cycle);