diff options
author | hizzlekizzle | 2019-10-22 15:19:04 -0500 |
---|---|---|
committer | GitHub | 2019-10-22 15:19:04 -0500 |
commit | a6d35e0165e270e7fc760b9a559a57ca9318ec11 (patch) | |
tree | cc0ddb321febbce3925d404b7340da7704dfe582 /cpu_threaded.c | |
parent | 24af89596e6484ff5a7a08efecfa8288cfbc02f3 (diff) | |
parent | a60de42f3a7fba8e22d5b2a602a035c68ea4223c (diff) | |
download | picogpsp-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.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) \ |