aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu_neon/psx_gpu/common.h
diff options
context:
space:
mode:
authortwinaphex2013-12-31 04:55:09 +0100
committertwinaphex2013-12-31 04:55:09 +0100
commitc82d5b4ba31ae828cae27962f1a4d328fd4ea4da (patch)
treee8dd125d73ddadf480e591855daca56518467561 /plugins/gpu_neon/psx_gpu/common.h
parent4bfc6b97e6eef32b184403362b49f4aa919b2dcf (diff)
downloadpcsx_rearmed-c82d5b4ba31ae828cae27962f1a4d328fd4ea4da.tar.gz
pcsx_rearmed-c82d5b4ba31ae828cae27962f1a4d328fd4ea4da.tar.bz2
pcsx_rearmed-c82d5b4ba31ae828cae27962f1a4d328fd4ea4da.zip
Fixed NEON GPU plugin for PC by using stdint.h types - use
NEON GPU plugin for non-ARM targets now
Diffstat (limited to 'plugins/gpu_neon/psx_gpu/common.h')
-rw-r--r--plugins/gpu_neon/psx_gpu/common.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/plugins/gpu_neon/psx_gpu/common.h b/plugins/gpu_neon/psx_gpu/common.h
index d5cf3e9..6c2a99b 100644
--- a/plugins/gpu_neon/psx_gpu/common.h
+++ b/plugins/gpu_neon/psx_gpu/common.h
@@ -1,6 +1,18 @@
#ifndef COMMON_H
#define COMMON_H
+#include <stdint.h>
+
+#ifdef NEON_PC
+typedef int8_t s8;
+typedef uint8_t u8;
+typedef int16_t s16;
+typedef uint16_t u16;
+typedef int32_t s32;
+typedef uint32_t u32;
+typedef int64_t s64;
+typedef uint64_t u64;
+#else
typedef signed char s8;
typedef unsigned char u8;
typedef signed short s16;
@@ -9,8 +21,8 @@ typedef signed int s32;
typedef unsigned int u32;
typedef signed long long int s64;
typedef unsigned long long int u64;
+#endif
-#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>