summaryrefslogtreecommitdiff
path: root/cpu_threaded.c
diff options
context:
space:
mode:
authorhizzlekizzle2019-10-22 15:19:04 -0500
committerGitHub2019-10-22 15:19:04 -0500
commita6d35e0165e270e7fc760b9a559a57ca9318ec11 (patch)
treecc0ddb321febbce3925d404b7340da7704dfe582 /cpu_threaded.c
parent24af89596e6484ff5a7a08efecfa8288cfbc02f3 (diff)
parenta60de42f3a7fba8e22d5b2a602a035c68ea4223c (diff)
downloadpicogpsp-a6d35e0165e270e7fc760b9a559a57ca9318ec11.tar.gz
picogpsp-a6d35e0165e270e7fc760b9a559a57ca9318ec11.tar.bz2
picogpsp-a6d35e0165e270e7fc760b9a559a57ca9318ec11.zip
Merge pull request #56 from bmaupin/enable-psp-dynarec
Reenable dynarec for PSP
Diffstat (limited to 'cpu_threaded.c')
-rw-r--r--cpu_threaded.c6
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) \