diff options
author | DizzyEggg <jajkodizzy@wp.pl> | 2017-09-18 18:36:05 +0200 |
---|---|---|
committer | DizzyEggg <jajkodizzy@wp.pl> | 2017-09-18 18:36:05 +0200 |
commit | c253bf5e75796c462fe5e389c7e8f6040f826c0f (patch) | |
tree | 931192939e32acdf4986fdd23d10cd9a9d148c00 /include/dma3.h | |
parent | 74bda5b68088f08220cf3f1b9791e5900a6a9877 (diff) |
add important headers, const ptrs and egg hatch start
Diffstat (limited to 'include/dma3.h')
-rw-r--r-- | include/dma3.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dma3.h b/include/dma3.h index beb00745d..ea3171662 100644 --- a/include/dma3.h +++ b/include/dma3.h @@ -6,7 +6,7 @@ extern u8 gDma3RequestCursor; struct DmaRequestsStruct { - /* 0x00 */ u8 *src; + /* 0x00 */ const u8 *src; /* 0x04 */ u8 *dest; /* 0x08 */ u16 size; /* 0x0A */ u16 mode; @@ -17,7 +17,7 @@ extern struct DmaRequestsStruct gDma3Requests[128]; void ClearDma3Requests(void); void ProcessDma3Requests(void); -int RequestDma3Copy(void *src, void *dest, u16 size, u8 mode); +int RequestDma3Copy(const void *src, void *dest, u16 size, u8 mode); int RequestDma3Fill(s32 value, void *dest, u16 size, u8 mode); #endif |