From e3d47665c61a78fd8d48cc53e1e887251191fa8b Mon Sep 17 00:00:00 2001 From: aliaspider Date: Sat, 3 Oct 2015 04:59:26 +0100 Subject: (CTR/3DS) build fix. --- libpcsxcore/new_dynarec/new_dynarec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpcsxcore/new_dynarec') diff --git a/libpcsxcore/new_dynarec/new_dynarec.c b/libpcsxcore/new_dynarec/new_dynarec.c index 068ca1e..e9e2b5c 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 -- cgit v1.2.3