aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore/new_dynarec
diff options
context:
space:
mode:
authormeepingsnesroms2017-09-01 11:23:47 -0700
committermeepingsnesroms2017-09-01 11:23:47 -0700
commit59c0f2b200daf5e52df2796a505dcf397f1f4653 (patch)
tree4745ced03049a4b6c17ac7ab9a9345eff7a07d9c /libpcsxcore/new_dynarec
parent6c5b8733e0b286d5a4b4d9b7899e4c17a92cd04a (diff)
downloadpcsx_rearmed-59c0f2b200daf5e52df2796a505dcf397f1f4653.tar.gz
pcsx_rearmed-59c0f2b200daf5e52df2796a505dcf397f1f4653.tar.bz2
pcsx_rearmed-59c0f2b200daf5e52df2796a505dcf397f1f4653.zip
Fix polygon issues
Diffstat (limited to 'libpcsxcore/new_dynarec')
-rw-r--r--libpcsxcore/new_dynarec/backends/psx/emu_if.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libpcsxcore/new_dynarec/backends/psx/emu_if.c b/libpcsxcore/new_dynarec/backends/psx/emu_if.c
index 6dc48e2..2a090a0 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;