[VITA] Fixes bug causing dynarec stuttering

This commit is contained in:
Francisco José García García 2019-11-09 10:47:18 +01:00
parent 3f17223e1a
commit 5afe4c2a39
1 changed files with 1 additions and 14 deletions

View File

@ -241,20 +241,6 @@ extern u8 bit_count[256];
#endif #endif
static INLINE void RW_INIT(void)
{
#ifdef VITA
sceKernelOpenVMDomain();
#endif
}
static INLINE void RW_END(void)
{
#ifdef VITA
sceKernelCloseVMDomain();
#endif
}
/* Cache invalidation */ /* Cache invalidation */
#if defined(PSP) #if defined(PSP)
@ -267,6 +253,7 @@ static INLINE void RW_END(void)
{ \ { \
sceKernelSyncVMDomain(sceBlock,last_##which##_translation_ptr, \ sceKernelSyncVMDomain(sceBlock,last_##which##_translation_ptr, \
which##_translation_ptr - last_##which##_translation_ptr); \ which##_translation_ptr - last_##which##_translation_ptr); \
last_##which##_translation_ptr = which##_translation_ptr; \
} }
#define translate_invalidate_dcache() \ #define translate_invalidate_dcache() \