diff options
| author | KiritoDv <kiritodev01@gmail.com> | 2024-11-10 01:01:31 -0600 |
|---|---|---|
| committer | KiritoDv <kiritodev01@gmail.com> | 2024-11-10 01:01:31 -0600 |
| commit | ecc6a49f9094ce32f92fa9f3db83bcfb712cf7c7 (patch) | |
| tree | a0b450eb7db5fec86108979922d416312b199be0 /src/audio | |
| parent | cd48d2cefac7d162242cc2d335ec3bd10b0f8cd2 (diff) | |
Even more changes
Diffstat (limited to 'src/audio')
| -rw-r--r-- | src/audio/audio_thread.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/audio/audio_thread.c b/src/audio/audio_thread.c index f60cf6af..08f2d028 100644 --- a/src/audio/audio_thread.c +++ b/src/audio/audio_thread.c @@ -375,8 +375,8 @@ void AudioThread_ProcessCmds(u32 msg) { break; } - cmd = &gThreadCmdBuffer[gCurCmdReadPos++ & 0xFF]; - + cmd = &gThreadCmdBuffer[gCurCmdReadPos & 0xFF]; + gCurCmdReadPos++; if (cmd->op == AUDIOCMD_OP_GLOBAL_STOP_AUDIOCMDS) { gThreadCmdQueueFinished = true; break; @@ -455,12 +455,7 @@ void AudioThread_ProcessCmds(u32 msg) { } u32 AudioThread_GetAsyncLoadStatus(u32* outData) { - u32 loadStatus; - - if (!MQ_GET_MESG(&gExternalLoadQueue, &loadStatus)) { - *outData = 0; - return 0; - } + u32 loadStatus = 2; *outData = loadStatus & 0xFFFFFF; return loadStatus >> 0x18; } |
