(Android) For Android x86 build - try to use mmap, for Android - use ARM_MEMORY_DYNAREC
codepath
This commit is contained in:
parent
eeeff89a2c
commit
c78a0dd39b
2 changed files with 3 additions and 3 deletions
|
@ -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]
|
||||
|
|
|
@ -6,14 +6,14 @@ LOCAL_MODULE := retro
|
|||
CPU_ARCH :=
|
||||
|
||||
ifeq ($(TARGET_ARCH),arm)
|
||||
LOCAL_CFLAGS += -DANDROID_ARM -DARM_ARCH
|
||||
LOCAL_CFLAGS += -DANDROID_ARM -DARM_ARCH -DARM_MEMORY_DYNAREC
|
||||
LOCAL_ARM_MODE := arm
|
||||
CPU_ARCH := arm
|
||||
HAVE_DYNAREC := 1
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_ARCH),x86)
|
||||
LOCAL_CFLAGS += -DANDROID_X86
|
||||
LOCAL_CFLAGS += -DANDROID_X86 -DHAVE_MMAP
|
||||
CPU_ARCH := x86_32
|
||||
HAVE_DYNAREC := 1
|
||||
endif
|
||||
|
|
Loading…
Add table
Reference in a new issue