diff options
author | red031000 <rubenru09@aol.com> | 2020-09-09 18:13:46 +0100 |
---|---|---|
committer | red031000 <rubenru09@aol.com> | 2020-09-09 18:13:46 +0100 |
commit | 85cf49ed0d9d8837e6e5dc9537b0c77a2f966f13 (patch) | |
tree | 60650bf82207f63ff387e3855f88bae86e715325 /arm9/lib/include | |
parent | 670e4127be3144b6d2bc57c1c882a0c1aa3137dd (diff) |
arm9 MI_dma_hblank
Diffstat (limited to 'arm9/lib/include')
-rw-r--r-- | arm9/lib/include/MI_dma.h | 3 | ||||
-rw-r--r-- | arm9/lib/include/MI_dma_hblank.h | 9 |
2 files changed, 12 insertions, 0 deletions
diff --git a/arm9/lib/include/MI_dma.h b/arm9/lib/include/MI_dma.h index bf07129a..aafc798b 100644 --- a/arm9/lib/include/MI_dma.h +++ b/arm9/lib/include/MI_dma.h @@ -17,7 +17,10 @@ typedef void (*MIDmaCallback)(void *); #define MI_CNT_COPY16(size) (0x80000000 | ((size)/2)) #define MI_DMA_SRC_FIX (2UL << 23) +#define MI_DMA_SRC_INC (0UL << 23) + #define MIi_DMA_TIMING_ANY (u32)(~0) +#define MI_DMA_TIMING_H_BLANK (2UL << 27) typedef union { diff --git a/arm9/lib/include/MI_dma_hblank.h b/arm9/lib/include/MI_dma_hblank.h new file mode 100644 index 00000000..1c83ef3e --- /dev/null +++ b/arm9/lib/include/MI_dma_hblank.h @@ -0,0 +1,9 @@ +#ifndef POKEDIAMOND_MI_DMA_HBLANK_H +#define POKEDIAMOND_MI_DMA_HBLANK_H + +#include "nitro/types.h" + +void MI_HBlankDmaCopy32(u32 dmaNo, const void *src, void *dest, u32 size); +void MI_HBlankDmaCopy16(u32 dmaNo, const void *src, void *dest, u32 size); + +#endif //POKEDIAMOND_MI_DMA_HBLANK_H |