aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
authoraliaspider2015-10-03 04:59:26 +0100
committeraliaspider2015-10-03 04:59:26 +0100
commite3d47665c61a78fd8d48cc53e1e887251191fa8b (patch)
tree93808d04a5c7240ae0da5b19df38193dfbc1a425 /libpcsxcore
parent0b7f536b486f3f411651573009c3da6063b560ea (diff)
downloadpcsx_rearmed-e3d47665c61a78fd8d48cc53e1e887251191fa8b.tar.gz
pcsx_rearmed-e3d47665c61a78fd8d48cc53e1e887251191fa8b.tar.bz2
pcsx_rearmed-e3d47665c61a78fd8d48cc53e1e887251191fa8b.zip
(CTR/3DS) build fix.
Diffstat (limited to 'libpcsxcore')
-rw-r--r--libpcsxcore/new_dynarec/new_dynarec.c2
1 files changed, 1 insertions, 1 deletions
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