summaryrefslogtreecommitdiff
path: root/src/code/sleep.c
diff options
context:
space:
mode:
authorDragorn421 <Dragorn421@users.noreply.github.com>2022-06-13 08:38:20 -0700
committerGitHub <noreply@github.com>2022-06-13 17:38:20 +0200
commit0832b5af6820c231c411cf7029db234e85ff857b (patch)
tree96acaa849bd211017fe56368dc2102ed57a11b84 /src/code/sleep.c
parent93a6a1eb9abd2f70a28c6c87260580d6725bd85b (diff)
Fix misc 14 (#1279)
* Remove fake temp in `BossDodongo_DrawEffects` * `OS_WRITE` for `__osSpRawStartDma` `direction` * remove outdated comment * fixup osRecvMesg * make sShopkeeperStores static * `PHYSICAL_TO_VIRTUAL(gSegments[0])` -> `SEGMENTED_TO_VIRTUAL(NULL)` (mimics `CollisionHeader_SegmentedToVirtual`) * Run formatter * Remove assets from include path in suggested vscode properties * Fix `osCreateMesgQueue` getting `OS_MESG_BLOCK` as `count` instead of `1`
Diffstat (limited to 'src/code/sleep.c')
-rw-r--r--src/code/sleep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/sleep.c b/src/code/sleep.c
index f08129701..2b67088a1 100644
--- a/src/code/sleep.c
+++ b/src/code/sleep.c
@@ -5,7 +5,7 @@ void Sleep_Cycles(OSTime cycles) {
OSMesg msg;
OSTimer timer;
- osCreateMesgQueue(&mq, &msg, OS_MESG_BLOCK);
+ osCreateMesgQueue(&mq, &msg, 1);
osSetTimer(&timer, cycles, 0, &mq, NULL);
osRecvMesg(&mq, NULL, OS_MESG_BLOCK);
}