mirror of
https://github.com/FunKey-Project/gpsp_libretro.git
synced 2026-09-07 16:54:34 +02:00
(3ds) dynarec: map the translation caches to specific addresses at
runtime, increases compatibility with loaders that can reloacate each program section seperately. move the svc enabling functions to the frontend.
This commit is contained in:
@@ -35,9 +35,9 @@ u8 *rom_translation_ptr;
|
||||
u8 *ram_translation_ptr;
|
||||
u8 *bios_translation_ptr;
|
||||
#elif defined(_3DS)
|
||||
u8 __attribute__((aligned(0x1000))) rom_translation_cache[ROM_TRANSLATION_CACHE_SIZE];
|
||||
u8 __attribute__((aligned(0x1000))) ram_translation_cache[RAM_TRANSLATION_CACHE_SIZE];
|
||||
u8 __attribute__((aligned(0x1000))) bios_translation_cache[BIOS_TRANSLATION_CACHE_SIZE];
|
||||
u8* rom_translation_cache_ptr;
|
||||
u8* ram_translation_cache_ptr;
|
||||
u8* bios_translation_cache_ptr;
|
||||
u8 *rom_translation_ptr = rom_translation_cache;
|
||||
u8 *ram_translation_ptr = ram_translation_cache;
|
||||
u8 *bios_translation_ptr = bios_translation_cache;
|
||||
|
||||
Reference in New Issue
Block a user