From e83651639f1c237b32246ac743dfb1a298b33ea3 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 12 Dec 2014 01:53:39 +0100 Subject: dma_transfer - change dest_ptr to type uintptr_t - fixes 64bit interpreter according to aliaspider --- gba_memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gba_memory.c') diff --git a/gba_memory.c b/gba_memory.c index e43cf23..829b048 100644 --- a/gba_memory.c +++ b/gba_memory.c @@ -2949,7 +2949,7 @@ cpu_alert_type dma_transfer(dma_transfer_type *dma) u32 length = dma->length; u32 read_value; u32 src_ptr = dma->source_address; - u32 dest_ptr = dma->dest_address; + uintptr_t dest_ptr = dma->dest_address; cpu_alert_type return_value = CPU_ALERT_NONE; // Technically this should be done for source and destination, but -- cgit v1.2.3