From e3d47665c61a78fd8d48cc53e1e887251191fa8b Mon Sep 17 00:00:00 2001 From: aliaspider Date: Sat, 3 Oct 2015 04:59:26 +0100 Subject: [PATCH] (CTR/3DS) build fix. --- libpcsxcore/new_dynarec/new_dynarec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpcsxcore/new_dynarec/new_dynarec.c b/libpcsxcore/new_dynarec/new_dynarec.c index 068ca1e7..e9e2b5cd 100644 --- a/libpcsxcore/new_dynarec/new_dynarec.c +++ b/libpcsxcore/new_dynarec/new_dynarec.c @@ -55,7 +55,7 @@ static void __clear_cache(void *start, void *end) { } #elif defined(_3DS) #include "3ds_utils.h" -#define __clear_cache(start,end) svcFlushProcessDataCache(0xFFFF8001, start, (end)-(start)) +#define __clear_cache(start,end) svcFlushProcessDataCache(0xFFFF8001, start, (u32)(end)-(u32)(start)) #endif #define MAXBLOCK 4096 -- 2.39.5