Fix polygon issues
authormeepingsnesroms <guicrith@gmail.com>
Fri, 1 Sep 2017 18:23:47 +0000 (11:23 -0700)
committermeepingsnesroms <guicrith@gmail.com>
Fri, 1 Sep 2017 18:23:47 +0000 (11:23 -0700)
libpcsxcore/new_dynarec/backends/psx/emu_if.c

index 6dc48e2..2a090a0 100644 (file)
 #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;