mirror of
https://github.com/FunKey-Project/gpsp_libretro.git
synced 2025-12-12 18:28:51 +01:00
[VITA] Fixes bug causing dynarec stuttering
This commit is contained in:
parent
3f17223e1a
commit
5afe4c2a39
@ -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() \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user