aboutsummaryrefslogtreecommitdiff
path: root/jni/Android.mk
diff options
context:
space:
mode:
authornegativeExponent2019-08-17 09:31:06 +0800
committernegativeExponent2019-08-17 09:33:48 +0800
commit030d1121f27550429364745419fc5e6161a2a431 (patch)
tree90d83d5855981ad4558f5533a6d6bc2d4a19cfba /jni/Android.mk
parentfcb84f0c6ad095c355d8c0835fc6c5fcdc2a6813 (diff)
downloadpcsx_rearmed-030d1121f27550429364745419fc5e6161a2a431.tar.gz
pcsx_rearmed-030d1121f27550429364745419fc5e6161a2a431.tar.bz2
pcsx_rearmed-030d1121f27550429364745419fc5e6161a2a431.zip
Backport GPU Unai plugin from PCSX4ALL
- backports gpu unai plugin from PCSX4ALL - sync necessary files with notaz/master to allow building standalone app
Diffstat (limited to 'jni/Android.mk')
-rw-r--r--jni/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/jni/Android.mk b/jni/Android.mk
index 2867791..3ebdf97 100644
--- a/jni/Android.mk
+++ b/jni/Android.mk
@@ -140,10 +140,14 @@ ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
$(FRONTEND_DIR)/cspace_neon.S
SOURCES_C += $(NEON_DIR)/psx_gpu_if.c
else ifeq ($(TARGET_ARCH_ABI),armeabi)
+ COREFLAGS += -DUSE_GPULIB=1 -DGPU_UNAI
+ COREFLAGS += -DINLINE="static __inline__" -Dasm="__asm__ __volatile__"
SOURCES_ASM += $(UNAI_DIR)/gpu_arm.S \
$(FRONTEND_DIR)/cspace_arm.S
SOURCES_C += $(UNAI_DIR)/gpulib_if.cpp
else
+ COREFLAGS += -DUSE_GPULIB=1 -DGPU_UNAI
+ COREFLAGS += -DINLINE="static __inline__" -Dasm="__asm__ __volatile__"
SOURCES_C += $(UNAI_DIR)/gpulib_if.cpp
endif