aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu_neon/psx_gpu/psx_gpu.c
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/psx_gpu.c
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/psx_gpu.c')
-rw-r--r--plugins/gpu_neon/psx_gpu/psx_gpu.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/gpu_neon/psx_gpu/psx_gpu.c b/plugins/gpu_neon/psx_gpu/psx_gpu.c
index e113f06..24f663b 100644
--- a/plugins/gpu_neon/psx_gpu/psx_gpu.c
+++ b/plugins/gpu_neon/psx_gpu/psx_gpu.c
@@ -4130,7 +4130,11 @@ void setup_sprite_untextured_simple(psx_gpu_struct *psx_gpu, s32 x, s32 y,
num_width = width;
vram_ptr = (void *)vram_ptr16;
+#ifdef NEON_PC
+ if((int32_t)vram_ptr16 & 2)
+#else
if((long)vram_ptr16 & 2)
+#endif
{
*vram_ptr16 = color_32bpp;
vram_ptr = (void *)(vram_ptr16 + 1);