diff options
author | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2017-09-23 15:02:32 -0400 |
---|---|---|
committer | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2017-09-23 15:02:32 -0400 |
commit | d740eabb3c19bae406d184c6f29c81b2c5dc952f (patch) | |
tree | d3641957151d385b2ddaeb4c944da3cef54583f2 /include/dma3.h | |
parent | 57543e164e0ed15c23e295ffa08e5804d4d32037 (diff) | |
parent | a57915fa5bd8c2e68bc291a371e66e3cafd7e195 (diff) |
merge
Diffstat (limited to 'include/dma3.h')
-rw-r--r-- | include/dma3.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/dma3.h b/include/dma3.h index beb00745d..db75ea9e3 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,8 @@ 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); +int CheckForSpaceForDma3Request(s16 index); -#endif +#endif // GUARD_DMA3_H |