summaryrefslogtreecommitdiff
path: root/cpu_threaded.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu_threaded.c')
-rw-r--r--cpu_threaded.c15
1 files changed, 1 insertions, 14 deletions
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() \