From 5afe4c2a3974d6e48a977db85f7aab75e8bcc3d3 Mon Sep 17 00:00:00 2001 From: Francisco José García García Date: Sat, 9 Nov 2019 10:47:18 +0100 Subject: [VITA] Fixes bug causing dynarec stuttering --- cpu_threaded.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'cpu_threaded.c') diff --git a/cpu_threaded.c b/cpu_threaded.c index 7386d0c..16a4852 100644 --- a/cpu_threaded.c +++ b/cpu_threaded.c @@ -241,20 +241,6 @@ extern u8 bit_count[256]; #endif -static INLINE void RW_INIT(void) -{ -#ifdef VITA - sceKernelOpenVMDomain(); -#endif -} - -static INLINE void RW_END(void) -{ -#ifdef VITA - sceKernelCloseVMDomain(); -#endif -} - /* Cache invalidation */ #if defined(PSP) @@ -267,6 +253,7 @@ static INLINE void RW_END(void) { \ sceKernelSyncVMDomain(sceBlock,last_##which##_translation_ptr, \ which##_translation_ptr - last_##which##_translation_ptr); \ + last_##which##_translation_ptr = which##_translation_ptr; \ } #define translate_invalidate_dcache() \ -- cgit v1.2.3