From f2100c3de4f1a2fcf86fb458b56d5c2978f1692f Mon Sep 17 00:00:00 2001 From: notaz Date: Fri, 14 Jul 2023 23:09:58 +0300 Subject: [PATCH] attempt to fix build --- libpcsxcore/lightrec/plugin.c | 5 ++--- libpcsxcore/psxinterpreter.h | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) 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); diff --git a/libpcsxcore/psxinterpreter.h b/libpcsxcore/psxinterpreter.h index b3652c0e..fe289b06 100644 --- a/libpcsxcore/psxinterpreter.h +++ b/libpcsxcore/psxinterpreter.h @@ -9,6 +9,6 @@ void gteNULL(struct psxCP2Regs *regs); extern void (*psxCP2[64])(struct psxCP2Regs *regs); // called by lightrec -void intExecuteBlock(); +void intExecuteBlock(enum blockExecCaller caller); #endif // __PSXINTERPRETER_H__ -- 2.39.5