mirror of
https://github.com/HarbourMasters/Starship
synced 2026-07-29 15:45:14 -04:00
Actor Docs (#270)
* Docs * actor timer_04C -> work_04C * Actor & Boss unk_04A -> work_04A * actor & boss unk_048 -> work_048 * actor & boss unk_046 -> work_046 * boss unk_044 -> work_044 * actor event docs * ActorEvent docs * name all Event Actor IDs * EVID names in EventActorInfo comments * refactor EVC_PASSED_ALL_RINGS by @inspectredc * clarification comment * some option docs * audio enums and macros * some audio renamings
This commit is contained in:
committed by
GitHub
parent
669fff8759
commit
e82019fa2b
@@ -105,6 +105,7 @@ void Audio_ThreadEntry(void* arg0) {
|
||||
|
||||
AudioLoad_Init();
|
||||
Audio_InitSounds();
|
||||
|
||||
task = AudioThread_CreateTask();
|
||||
if (task != NULL) {
|
||||
task->mesgQueue = &gAudioTaskMesgQueue;
|
||||
@@ -112,6 +113,7 @@ void Audio_ThreadEntry(void* arg0) {
|
||||
osWritebackDCacheAll();
|
||||
osSendMesg(&gTaskMesgQueue, task, OS_MESG_NOBLOCK);
|
||||
}
|
||||
|
||||
while (true) {
|
||||
task = AudioThread_CreateTask();
|
||||
if (task != NULL) {
|
||||
@@ -120,6 +122,7 @@ void Audio_ThreadEntry(void* arg0) {
|
||||
osWritebackDCacheAll();
|
||||
}
|
||||
MQ_GET_MESG(&gAudioTaskMesgQueue, NULL);
|
||||
|
||||
if (task != NULL) {
|
||||
osSendMesg(&gTaskMesgQueue, task, OS_MESG_NOBLOCK);
|
||||
}
|
||||
@@ -176,6 +179,7 @@ void Main_SetVIMode(void) {
|
||||
(gControllerHold[3].button & R_TRIG) && (gControllerHold[3].button & Z_TRIG)) {
|
||||
sGammaMode = 1 - sGammaMode;
|
||||
}
|
||||
|
||||
switch (osTvType) {
|
||||
case OS_TV_PAL:
|
||||
osViSetMode(&osViModePalLan1);
|
||||
@@ -188,6 +192,7 @@ void Main_SetVIMode(void) {
|
||||
osViSetMode(&osViModeNtscLan1);
|
||||
break;
|
||||
}
|
||||
|
||||
if (sGammaMode != 0) {
|
||||
osViSetSpecialFeatures(OS_VI_DITHER_FILTER_ON | OS_VI_DIVOT_OFF | OS_VI_GAMMA_ON | OS_VI_GAMMA_DITHER_ON);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user