summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortwinaphex2014-12-12 01:53:39 +0100
committertwinaphex2014-12-12 01:53:39 +0100
commite83651639f1c237b32246ac743dfb1a298b33ea3 (patch)
tree13009dc076f683d64a162713ee0ec019ca976ae4
parentc40748197fad49a89c9a904f37d20c86091def3c (diff)
downloadpicogpsp-e83651639f1c237b32246ac743dfb1a298b33ea3.tar.gz
picogpsp-e83651639f1c237b32246ac743dfb1a298b33ea3.tar.bz2
picogpsp-e83651639f1c237b32246ac743dfb1a298b33ea3.zip
dma_transfer - change dest_ptr to type uintptr_t - fixes 64bit interpreter
according to aliaspider
-rw-r--r--gba_memory.c2
1 files changed, 1 insertions, 1 deletions
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