diff options
Diffstat (limited to 'cpu_threaded.c')
-rw-r--r-- | cpu_threaded.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpu_threaded.c b/cpu_threaded.c index 5f52cb7..cb7c1c2 100644 --- a/cpu_threaded.c +++ b/cpu_threaded.c @@ -234,8 +234,8 @@ extern u8 bit_count[256]; #if defined(PSP_BUILD) #define translate_invalidate_dcache() sceKernelDcacheWritebackAll() #elif defined(_3DS) -int32_t HB_FlushInvalidateCache(); -#define translate_invalidate_dcache() HB_FlushInvalidateCache() +#include "3ds/3ds_utils.h" +#define translate_invalidate_dcache() ctr_flush_invalidate_cache() #define invalidate_icache_region(addr, size) (void)0 #elif defined(ARM_ARCH) static int sys_cacheflush(void *addr, unsigned long size) |