aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
authormeepingsnesroms2017-09-01 11:26:54 -0700
committerGitHub2017-09-01 11:26:54 -0700
commit09d454e73bc251b44848abba4026efcd452df752 (patch)
tree4745ced03049a4b6c17ac7ab9a9345eff7a07d9c /libpcsxcore
parent874706c9a527d43f1a737b772225c120da86c31e (diff)
parent59c0f2b200daf5e52df2796a505dcf397f1f4653 (diff)
downloadpcsx_rearmed-09d454e73bc251b44848abba4026efcd452df752.tar.gz
pcsx_rearmed-09d454e73bc251b44848abba4026efcd452df752.tar.bz2
pcsx_rearmed-09d454e73bc251b44848abba4026efcd452df752.zip
Merge pull request #136 from meepingsnesroms/master
Fix polygon issues
Diffstat (limited to 'libpcsxcore')
-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;