Minor misc labelling (#246)

* Squashed commit of the following:

commit 3ab4716110
Author: Fazana <52551480+FazanaJ@users.noreply.github.com>
Date:   Mon May 23 23:11:46 2022 +0100

    Mostly misc labelling, but also weather too (#232)

    * bit more labelling

    * identify some weather stuff

    * Update sound_ids.h

    * yum

    * more random identification

    * last weather stuff for now

    * Update README.md

    * Update README.md

    * Fix non equivalent

* I found the 60fps button

* match func_80052B64

* match racer_attack_handler

* match func_80048C7C

* buncha function declaring

* e

* tweak

* match func_8004DE38

oh man oh man

* Small bit of labelling

* Merge remote-tracking branch 'upstream/master' into the-many-against-the-few

* Update README.md

* Fix monumentally poor bout of misinformation in the readme

we wouldn't want to mislead the readers, would we?

* github please

* Update README.md

* requested changes

kinda funny because I knew this struct existed, and knew it was used for this, but never made the connection lol

* Update objects.c

* match racer_enter_door

A nice easy one after the pure hellscape of the last few days :)

* names

* renames

* match func_8005250C

* heehee

* Update racer.c

* identify some misc asset calls

* identify some surface types

* match func_8005492C

* Delete func_8005492C.s

* match func_80052D7C

* move some enums

* label all existing misc asset calls

granted I know what almost none of them are lmao, buut will make things slightly easier in the long run

* Update README.md

* requested changes

pain

* Update README.md

* just a bit of labelling
This commit is contained in:
Fazana
2022-09-29 11:06:38 -04:00
committed by GitHub
parent e386db5483
commit f396463e95
15 changed files with 143 additions and 125 deletions
+4 -4
View File
@@ -104,14 +104,14 @@ void osCreateScheduler(OSSched *sc, void *stack, OSPri priority, u8 mode, u8 num
osStartThread(&sc->thread);
}
void osScAddClient(OSSched *sc, OSScClient *c, OSMesgQueue *msgQ, u8 arg3){
void osScAddClient(OSSched *sc, OSScClient *c, OSMesgQueue *msgQ, u8 id){
OSIntMask mask;
mask = osSetIntMask(OS_IM_NONE);
c->msgQ = msgQ;
c->next = sc->clientList;
c->unk0 = arg3;
c->id = id;
sc->clientList = c;
osSetIntMask(mask);
@@ -304,7 +304,7 @@ void __scHandleRetrace(OSSched *sc) {
}
for (client = sc->clientList; client != 0; client = client->next) {
if (client->unk0 == 1) {
if (client->id == OS_SC_ID_AUDIO) {
//Only run this on even calls to this function
if (gRetraceCounter64 % 2 == 0) {
osSendMesg(client->msgQ, sc, OS_MESG_NOBLOCK);
@@ -312,7 +312,7 @@ void __scHandleRetrace(OSSched *sc) {
func_80079760(sc);
}
}
} else if (client->unk0 == 2) {
} else if (client->id == OS_SC_ID_VIDEO) {
osSendMesg(client->msgQ, sc, OS_MESG_NOBLOCK);
}
}