mirror of
https://github.com/FunKey-Project/gpsp_libretro.git
synced 2026-09-07 00:34:34 +02:00
(Android) Works now with dynarec
This commit is contained in:
@@ -23,13 +23,27 @@
|
||||
|
||||
#include "common.h"
|
||||
|
||||
#ifdef HAVE_MMAP
|
||||
#if defined(HAVE_MMAP)
|
||||
u8* rom_translation_cache;
|
||||
u8* ram_translation_cache;
|
||||
u8* bios_translation_cache;
|
||||
u8 *rom_translation_ptr;
|
||||
u8 *ram_translation_ptr;
|
||||
u8 *bios_translation_ptr;
|
||||
#elif defined(ANDROID)
|
||||
__asm__(".section .jit,\"awx\",%progbits");
|
||||
|
||||
u8 rom_translation_cache[ROM_TRANSLATION_CACHE_SIZE]
|
||||
__attribute__ ((aligned(4),section(".jit")));
|
||||
u8 *rom_translation_ptr = rom_translation_cache;
|
||||
|
||||
u8 ram_translation_cache[RAM_TRANSLATION_CACHE_SIZE]
|
||||
__attribute__ ((aligned(4),section(".jit")));
|
||||
u8 *ram_translation_ptr = ram_translation_cache;
|
||||
|
||||
u8 bios_translation_cache[BIOS_TRANSLATION_CACHE_SIZE]
|
||||
__attribute__ ((aligned(4),section(".jit")));
|
||||
u8 *bios_translation_ptr = bios_translation_cache;
|
||||
#else
|
||||
u8 rom_translation_cache[ROM_TRANSLATION_CACHE_SIZE];
|
||||
u8 ram_translation_cache[RAM_TRANSLATION_CACHE_SIZE];
|
||||
|
||||
Reference in New Issue
Block a user