From: gameblabla Date: Wed, 25 Aug 2021 11:18:43 +0000 (+0200) Subject: Fix broken HLE PR. X-Git-Tag: r24l~564^2 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd6eb971c82b1999ec6a36a7ff6608d0c00b0252;p=pcsx_rearmed.git Fix broken HLE PR. --- 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);