summaryrefslogtreecommitdiff
path: root/src/code
diff options
context:
space:
mode:
authorRandom <28494085+Random0666@users.noreply.github.com>2020-03-20 17:15:39 +0100
committerRandom <28494085+Random0666@users.noreply.github.com>2020-03-20 17:15:39 +0100
commit1fe00fcce1150e1e9b8950015fd2f891a8b51639 (patch)
treea45b705afe52fe21f575b692c2a92b1a2d7c3d11 /src/code
parentbf071937918a92141cb4c0b86b21a193138906c4 (diff)
Changes in PR #15 (2)
- Documented z_msgevent.c
Diffstat (limited to 'src/code')
-rw-r--r--src/code/z_msgevent.c (renamed from src/code/code_8007BF10.c)6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/code/code_8007BF10.c b/src/code/z_msgevent.c
index f318d23bf..3282d0342 100644
--- a/src/code/code_8007BF10.c
+++ b/src/code/z_msgevent.c
@@ -2,7 +2,7 @@
#include <global.h>
#include <sched.h>
-void func_8007BF10()
+void MsgEvent_SendNullTask()
{
u32 pad[4];
OSScTask task;
@@ -11,11 +11,11 @@ void func_8007BF10()
u32 pad2[1];
task.next = NULL;
- task.flags = 3;
+ task.flags = OS_SC_RCP_MASK;
task.msgQ = &queue;
task.msg = NULL;
task.framebuffer = NULL;
- task.list.t.type = 0;
+ task.list.t.type = M_NULTASK;
osCreateMesgQueue(task.msgQ, &msg, 1);
osSendMesg(&gSchedContext.cmdQ, &task, OS_MESG_BLOCK);
func_800C95F8(&gSchedContext); // osScKickEntryMsg