summaryrefslogtreecommitdiff
path: root/cpu_threaded.c
diff options
context:
space:
mode:
authortwinaphex2014-12-11 01:38:47 +0100
committertwinaphex2014-12-11 01:38:47 +0100
commitc78a0dd39b5a65d73a8d5eb462918e1b28847a7b (patch)
tree97cd20731990f541a2dce9e37102f50b0ef75966 /cpu_threaded.c
parenteeeff89a2c8df93fbb57db7f7770451160699e73 (diff)
downloadpicogpsp-c78a0dd39b5a65d73a8d5eb462918e1b28847a7b.tar.gz
picogpsp-c78a0dd39b5a65d73a8d5eb462918e1b28847a7b.tar.bz2
picogpsp-c78a0dd39b5a65d73a8d5eb462918e1b28847a7b.zip
(Android) For Android x86 build - try to use mmap, for Android - use ARM_MEMORY_DYNAREC
codepath
Diffstat (limited to 'cpu_threaded.c')
-rw-r--r--cpu_threaded.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu_threaded.c b/cpu_threaded.c
index 3526dc1..6da6d62 100644
--- a/cpu_threaded.c
+++ b/cpu_threaded.c
@@ -30,7 +30,7 @@ u8* bios_translation_cache;
u8 *rom_translation_ptr;
u8 *ram_translation_ptr;
u8 *bios_translation_ptr;
-#elif defined(ANDROID)
+#elif defined(ARM_MEMORY_DYNAREC)
__asm__(".section .jit,\"awx\",%progbits");
u8 rom_translation_cache[ROM_TRANSLATION_CACHE_SIZE]