summaryrefslogtreecommitdiff
path: root/arm9/lib/src/MI_dma_gxcommand.c
diff options
context:
space:
mode:
authorred031000 <rubenru09@aol.com>2020-07-27 01:11:45 +0100
committerred031000 <rubenru09@aol.com>2020-07-27 01:11:45 +0100
commit7c2a848ecccb95d010d8c0836c5d9c6a96b39da0 (patch)
treed650d996f8fa9b741b1075d8b897d73c8e7034a7 /arm9/lib/src/MI_dma_gxcommand.c
parent23873ed88f9920db6ed463fa02157686264369bd (diff)
some cleanups
Diffstat (limited to 'arm9/lib/src/MI_dma_gxcommand.c')
-rw-r--r--arm9/lib/src/MI_dma_gxcommand.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/arm9/lib/src/MI_dma_gxcommand.c b/arm9/lib/src/MI_dma_gxcommand.c
index 8d1a891a..781f1f73 100644
--- a/arm9/lib/src/MI_dma_gxcommand.c
+++ b/arm9/lib/src/MI_dma_gxcommand.c
@@ -6,6 +6,10 @@
static MIiGXDmaParams MIi_GXDmaParams = { FALSE };
+static void MIi_FIFOCallback(void);
+static void MIi_DMACallback(void *arg);
+static void MIi_DMAFastCallback(void *arg);
+
#pragma section ITCM begin
ARM_FUNC void MI_SendGXCommand(u32 dmaNo, const void *src, u32 commandLength)
{
@@ -104,7 +108,7 @@ ARM_FUNC static void MIi_FIFOCallback(void)
}
}
-ARM_FUNC static void MIi_DMACallback(void *)
+ARM_FUNC static void MIi_DMACallback(void *arg)
{
(void)OS_DisableIrqMask(OS_IE_GXFIFO);
@@ -141,7 +145,7 @@ ARM_FUNC void MI_SendGXCommandAsyncFast(u32 dmaNo, const void *src, u32 commandL
MIi_DmaSetParams(dmaNo, (u32)src, (u32)REG_GXFIFO_ADDR, MI_CNT_GXCOPY_IF(commandLength));
}
-ARM_FUNC static void MIi_DMAFastCallback(void *)
+ARM_FUNC static void MIi_DMAFastCallback(void *arg)
{
MIi_GXDmaParams.isBusy = FALSE;