diff options
| author | cadmic <cadmic24@gmail.com> | 2024-08-27 00:33:20 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-27 09:33:20 +0200 |
| commit | d2aca2239fb2a814ffe9bfad8f2a100445e11ce8 (patch) | |
| tree | 287c09ccc8e3eb3578233d527fc19013d0279798 /src/code/audio_thread_manager.c | |
| parent | c00991da29ac2032f7194892538173b093d192ec (diff) | |
[ntsc-1.2] Match a bunch of small stuff (#2094)
* Match z_fbdemo_wipe1.c
* Fix gDPSetTileCustom
* Match z_eff_ss_dead.c
* Match src/code/audio_thread_manager.c
* Match z_parameter.c
* Match KaleidoScope_DrawWorldMap
* Format
* 1 -> AUDIOMGR_DEBUG_LEVEL_NO_RSP
* Actually match KaleidoScope_DrawWorldMap
* Add comment on duplicate code
* Revert "Fix gDPSetTileCustom"
This reverts commit de09338d92e50dd3b9cb8ee7214e2e6b3fecf7ff.
Diffstat (limited to 'src/code/audio_thread_manager.c')
| -rw-r--r-- | src/code/audio_thread_manager.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/code/audio_thread_manager.c b/src/code/audio_thread_manager.c index a2e03cb72..1dc72642f 100644 --- a/src/code/audio_thread_manager.c +++ b/src/code/audio_thread_manager.c @@ -153,6 +153,10 @@ void AudioMgr_Init(AudioMgr* audioMgr, void* stack, OSPri pri, OSId id, Schedule audioMgr->irqMgr = irqMgr; audioMgr->rspTask = NULL; +#if PLATFORM_N64 + R_AUDIOMGR_DEBUG_LEVEL = AUDIOMGR_DEBUG_LEVEL_NO_RSP; +#endif + osCreateMesgQueue(&audioMgr->taskDoneQueue, &audioMgr->taskDoneMsg, 1); osCreateMesgQueue(&audioMgr->interruptQueue, audioMgr->interruptMsgBuf, ARRAY_COUNT(audioMgr->interruptMsgBuf)); osCreateMesgQueue(&audioMgr->initQueue, &audioMgr->initMsg, 1); |
