diff options
author | YamaArashi <shadow962@live.com> | 2016-04-08 21:43:56 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-04-08 21:43:56 -0700 |
commit | 8890ea36eef541ba571df102c3353ee411033261 (patch) | |
tree | dac1738e0c1a312cf418d834c2c5bb2f90899c88 /include/gba/macro.h | |
parent | 9edfc54fb8b3c2bc46f9730a0eaa80811cb156dd (diff) |
AGB flash library
Diffstat (limited to 'include/gba/macro.h')
-rw-r--r-- | include/gba/macro.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gba/macro.h b/include/gba/macro.h index 42830d47c..7c56943b7 100644 --- a/include/gba/macro.h +++ b/include/gba/macro.h @@ -17,12 +17,12 @@ do { #define CpuCopy16(src, dest, size) CPU_COPY(src, dest, size, 16) #define CpuCopy32(src, dest, size) CPU_COPY(src, dest, size, 32) -#define DmaSet(dmaNum, src, dest, controlData) \ +#define DmaSet(dmaNum, src, dest, control) \ do { \ vu32 *dmaRegs = (vu32 *)REG_ADDR_DMA##dmaNum; \ dmaRegs[0] = (vu32)(src); \ dmaRegs[1] = (vu32)(dest); \ - dmaRegs[2] = (vu32)(controlData); \ + dmaRegs[2] = (vu32)(control); \ dmaRegs[2]; \ } while (0) |