From adcf1c6f732f70c84d63fc0820e5f755d9616c5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Jos=C3=A9=20Garc=C3=ADa=20Garc=C3=ADa?= Date: Tue, 4 Oct 2016 07:32:54 +0000 Subject: [PATCH] (VITA) Dynarec changes --- cpu_threaded.c | 4 ++-- libretro.c | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cpu_threaded.c b/cpu_threaded.c index f740502..e366742 100644 --- a/cpu_threaded.c +++ b/cpu_threaded.c @@ -2863,7 +2863,7 @@ u8 *block_lookup_address_##type(u32 pc) \ /* Starting at the beginning, we allow for one translation cache flush. */ \ if(translation_recursion_level == 0){ \ translation_flush_count = 0; \ - RW_INIT(); \ + \ } \ block_lookup_address_pc_##type(); \ \ @@ -2959,7 +2959,7 @@ u8 *block_lookup_address_##type(u32 pc) \ block_address = (u8 *)(-1); \ break; \ } \ - \ + \ return block_address; \ } \ diff --git a/libretro.c b/libretro.c index d0081da..095cdd0 100644 --- a/libretro.c +++ b/libretro.c @@ -189,6 +189,7 @@ void retro_init(void) rom_translation_ptr = rom_translation_cache; ram_translation_ptr = ram_translation_cache; bios_translation_ptr = bios_translation_cache; + sceKernelOpenVMDomain(); translation_caches_inited = 1; }