From a60de42f3a7fba8e22d5b2a602a035c68ea4223c Mon Sep 17 00:00:00 2001 From: bmaupin Date: Thu, 3 Oct 2019 13:24:32 -0400 Subject: Get dynarec working again for PSP --- cpu_threaded.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'cpu_threaded.c') 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) \ -- cgit v1.2.3