summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco José García García2016-10-04 09:18:14 +0100
committerGitHub2016-10-04 09:18:14 +0100
commit285dc11249611683ef1b04621c7fbd3a53292009 (patch)
tree73ca9f52104e54f4794c724240802c5f0031ed45
parent57998622aca9d7b77ca773e82e1010d3e1f0f0e6 (diff)
parentadcf1c6f732f70c84d63fc0820e5f755d9616c5f (diff)
downloadpicogpsp-285dc11249611683ef1b04621c7fbd3a53292009.tar.gz
picogpsp-285dc11249611683ef1b04621c7fbd3a53292009.tar.bz2
picogpsp-285dc11249611683ef1b04621c7fbd3a53292009.zip
Merge pull request #32 from frangarcj/master
(VITA) Dynarec changes
-rw-r--r--cpu_threaded.c4
-rw-r--r--libretro.c1
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;
}