From cd6eb971c82b1999ec6a36a7ff6608d0c00b0252 Mon Sep 17 00:00:00 2001 From: gameblabla Date: Wed, 25 Aug 2021 13:18:43 +0200 Subject: [PATCH] Fix broken HLE PR. --- libpcsxcore/new_dynarec/backends/psx/emu_if.h | 2 +- libpcsxcore/new_dynarec/new_dynarec.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/libpcsxcore/new_dynarec/backends/psx/emu_if.h b/libpcsxcore/new_dynarec/backends/psx/emu_if.h index 323764c0..64f6c5a5 100644 --- a/libpcsxcore/new_dynarec/backends/psx/emu_if.h +++ b/libpcsxcore/new_dynarec/backends/psx/emu_if.h @@ -100,7 +100,7 @@ void pcsx_mtc0(u32 reg, u32 val); void pcsx_mtc0_ds(u32 reg, u32 val); /* misc */ -extern void (*psxHLEt[])(); +extern void (*psxHLEt[8])(); extern void SysPrintf(const char *fmt, ...); diff --git a/libpcsxcore/new_dynarec/new_dynarec.c b/libpcsxcore/new_dynarec/new_dynarec.c index 79df8daf..52deb854 100644 --- a/libpcsxcore/new_dynarec/new_dynarec.c +++ b/libpcsxcore/new_dynarec/new_dynarec.c @@ -3484,6 +3484,7 @@ void syscall_assemble(int i,struct regstat *i_regs) void hlecall_assemble(int i,struct regstat *i_regs) { + extern void psxNULL(); signed char ccreg=get_reg(i_regs->regmap,CCREG); assert(ccreg==HOST_CCREG); assert(!is_delayslot); -- 2.39.5