diff options
Diffstat (limited to 'cpu_threaded.c')
-rw-r--r-- | cpu_threaded.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cpu_threaded.c b/cpu_threaded.c index c3f172b..7386d0c 100644 --- a/cpu_threaded.c +++ b/cpu_threaded.c @@ -227,7 +227,7 @@ extern u8 bit_count[256]; u32 offset = opcode & 0x07FF \ -#ifdef PSP_BUILD +#ifdef PSP #include "psp/mips_emit.h" @@ -257,8 +257,10 @@ static INLINE void RW_END(void) /* Cache invalidation */ -#if defined(PSP_BUILD) +#if defined(PSP) #define translate_invalidate_dcache() sceKernelDcacheWritebackAll() +#define invalidate_icache_region(addr, size) (void)0 + #elif defined(VITA) #define translate_invalidate_dcache_one(which) \ if (which##_translation_ptr > last_##which##_translation_ptr) \ |