diff options
| author | petrie911 <69443847+petrie911@users.noreply.github.com> | 2024-04-20 17:07:29 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-20 17:07:29 -0500 |
| commit | 95e5f4f07aa17d9ff0cc61e9a7adff26ee4129ec (patch) | |
| tree | 78daf0c315ad34f7979a2abfce8da2eeacde3620 /src/audio/audio_thread.c | |
| parent | e3716b5d48fa523b4f0f183011502cb737007568 (diff) | |
Some further docs for audio spec and planet paths (#219)
* avoid ub
* format
* torch
* more stuff
Diffstat (limited to 'src/audio/audio_thread.c')
| -rw-r--r-- | src/audio/audio_thread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio/audio_thread.c b/src/audio/audio_thread.c index 8d383393..e8c067b9 100644 --- a/src/audio/audio_thread.c +++ b/src/audio/audio_thread.c @@ -54,7 +54,7 @@ SPTask* AudioThread_CreateTask(void) { s32 pad30; gAudioTaskCountQ++; - if ((gAudioTaskCountQ % gAudioBufferParams.specUnk4) != 0) { + if ((gAudioTaskCountQ % gAudioBufferParams.count) != 0) { return gWaitingAudioTask; } osSendMesg(gAudioTaskStartQueue, (OSMesg) gAudioTaskCountQ, 0); @@ -142,7 +142,7 @@ SPTask* AudioThread_CreateTask(void) { gMaxAbiCmdCnt = sp50; } - if (gAudioBufferParams.specUnk4 == 1) { + if (gAudioBufferParams.count == 1) { return gAudioCurTask; } else { gWaitingAudioTask = gAudioCurTask; |
