From 59c0f2b200daf5e52df2796a505dcf397f1f4653 Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Fri, 1 Sep 2017 11:23:47 -0700 Subject: [PATCH] Fix polygon issues --- libpcsxcore/new_dynarec/backends/psx/emu_if.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libpcsxcore/new_dynarec/backends/psx/emu_if.c b/libpcsxcore/new_dynarec/backends/psx/emu_if.c index 6dc48e2f..2a090a0b 100644 --- a/libpcsxcore/new_dynarec/backends/psx/emu_if.c +++ b/libpcsxcore/new_dynarec/backends/psx/emu_if.c @@ -16,8 +16,12 @@ #include "../../../mdec.h" #include "../../../gte_arm.h" #include "../../../gte_neon.h" + +#include "../../../gte.h" + #define FLAGLESS #include "../../../gte.h" +#undef FLAGLESS #define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) @@ -331,6 +335,7 @@ static int ari64_init() #ifdef DRC_DBG memcpy(gte_handlers_nf, gte_handlers, sizeof(gte_handlers_nf)); #endif + psxH_ptr = psxH; zeromem_ptr = zero_mem; scratch_buf_ptr = scratch_buf; -- 2.39.5