mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-02-02 16:23:57 +03:00
Even more changes
This commit is contained in:
parent
cd48d2cefa
commit
ecc6a49f90
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user