aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu_neon/psx_gpu_if.c
diff options
context:
space:
mode:
authortwinaphex2020-02-08 22:19:13 +0100
committertwinaphex2020-02-08 22:19:13 +0100
commit1fce6ce87dcd15107e3aa26b767395dbb6eafe6c (patch)
tree3cae36fe8869ad3dec10efb5c6d5425a271295b0 /plugins/gpu_neon/psx_gpu_if.c
parent721c85083fa1f4e3636007e1769f21c9a82a35d1 (diff)
downloadpcsx_rearmed-1fce6ce87dcd15107e3aa26b767395dbb6eafe6c.tar.gz
pcsx_rearmed-1fce6ce87dcd15107e3aa26b767395dbb6eafe6c.tar.bz2
pcsx_rearmed-1fce6ce87dcd15107e3aa26b767395dbb6eafe6c.zip
Start getting NEON GPU to work on non-Arm
Diffstat (limited to 'plugins/gpu_neon/psx_gpu_if.c')
-rw-r--r--plugins/gpu_neon/psx_gpu_if.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/gpu_neon/psx_gpu_if.c b/plugins/gpu_neon/psx_gpu_if.c
index 788e3b4..3f3805a 100644
--- a/plugins/gpu_neon/psx_gpu_if.c
+++ b/plugins/gpu_neon/psx_gpu_if.c
@@ -9,7 +9,12 @@
*/
#include <stdio.h>
+
+#ifdef _WIN32
+#include <mman.h>
+#else
#include <sys/mman.h>
+#endif
extern const unsigned char cmd_lengths[256];
#define command_lengths cmd_lengths