summaryrefslogtreecommitdiff
path: root/src/boot_O2_g3
diff options
context:
space:
mode:
authorDerek Hensley <hensley.derek58@gmail.com>2022-10-03 20:06:04 -0700
committerGitHub <noreply@github.com>2022-10-04 04:06:04 +0100
commit26207594f2b7e41e9522930fd171142a8810214e (patch)
tree14b82627bc33f547ca6d0c6b40d93b3734712ba5 /src/boot_O2_g3
parent3e32379c2bbce332dae9675954e28387480128f0 (diff)
Format Script Update (#904)
* Bring over format.sh and .clang-tidy and run it * Little fixes * Adjustments * Jenkins kick * Jenkins kick 2 * format * small fixes * Bring over new formatter by Roman Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com> * Force use of clang-11 * check_format * Update error messages * Fix from Tharo for python3.6 Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com> * Just use nproc to determine num jobs for check format * Update error message * AnimatedMat_DrawStepOpa texture arg -> matAnim * Fix enTwig draw prototype * Tidying up * Bring over fixes in OoT #1387 Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com> * Fix * Update doc tools * PR Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com> Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
Diffstat (limited to 'src/boot_O2_g3')
-rw-r--r--src/boot_O2_g3/irqmgr.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/boot_O2_g3/irqmgr.c b/src/boot_O2_g3/irqmgr.c
index f605dc327..b100f209d 100644
--- a/src/boot_O2_g3/irqmgr.c
+++ b/src/boot_O2_g3/irqmgr.c
@@ -5,22 +5,22 @@ volatile OSTime sIrqMgrResetTime = 0;
volatile OSTime sIrqMgrRetraceTime = 0;
s32 sIrqMgrRetraceCount = 0;
-void IrqMgr_AddClient(IrqMgr* irqmgr, IrqMgrClient* param_2, OSMesgQueue* param_3) {
+void IrqMgr_AddClient(IrqMgr* irqmgr, IrqMgrClient* client, OSMesgQueue* msgQueue) {
u32 saveMask;
saveMask = osSetIntMask(1);
- param_2->queue = param_3;
- param_2->next = irqmgr->callbacks;
- irqmgr->callbacks = param_2;
+ client->queue = msgQueue;
+ client->next = irqmgr->callbacks;
+ irqmgr->callbacks = client;
osSetIntMask(saveMask);
if (irqmgr->prenmiStage > 0) {
- osSendMesg(param_2->queue, &irqmgr->prenmiMsg.type, OS_MESG_NOBLOCK);
+ osSendMesg(client->queue, &irqmgr->prenmiMsg.type, OS_MESG_NOBLOCK);
}
if (irqmgr->prenmiStage > 1) {
- osSendMesg(param_2->queue, &irqmgr->nmiMsg.type, OS_MESG_NOBLOCK);
+ osSendMesg(client->queue, &irqmgr->nmiMsg.type, OS_MESG_NOBLOCK);
}
}