From c8dc0478f0fc2b397d47c9785ca2e23bb6a005f2 Mon Sep 17 00:00:00 2001 From: Date: Sat, 13 Feb 2016 14:33:16 -0500 Subject: [PATCH] [RSP] dma.c: Use standard integer types. --- Source/RSP/dma.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Source/RSP/dma.c b/Source/RSP/dma.c index 7bdd05e73..064e743f9 100644 --- a/Source/RSP/dma.c +++ b/Source/RSP/dma.c @@ -26,6 +26,8 @@ #include #include +#include + #include "Rsp.h" #include "RSP Registers.h" #include "memory.h" @@ -34,8 +36,8 @@ void SP_DMA_READ (void) { - DWORD i, j, Length, Skip, Count, End, addr; - BYTE *Dest, *Source; + uint32_t i, j, Length, Skip, Count, End, addr; + uint8_t *Dest, *Source; addr = (*RSPInfo.SP_DRAM_ADDR_REG) & 0x00FFFFFF; @@ -110,8 +112,8 @@ void SP_DMA_READ (void) void SP_DMA_WRITE (void) { - DWORD i, j, Length, Skip, Count, addr; - BYTE *Dest, *Source; + uint32_t i, j, Length, Skip, Count, addr; + uint8_t *Dest, *Source; addr = (*RSPInfo.SP_DRAM_ADDR_REG) & 0x00FFFFFF;