Attempt #324 at fixing linux

This commit is contained in:
Lywx 2025-02-01 11:30:49 -06:00
parent 364e72760e
commit 1124239051
2 changed files with 0 additions and 7 deletions

View File

@ -92,10 +92,8 @@ void Controller_ReadData(void) {
}
} else {
osContStartReadData(&gSerialEventQueue);
MQ_WAIT_FOR_MESG(&gSerialEventQueue, NULL);
osContGetReadData(sNextController);
}
osSendMesg(&gControllerMesgQueue, OS_MESG_32(SI_CONT_READ_DONE), OS_MESG_PRI_NORMAL);
}
bool Save_ReadData(void) {

View File

@ -234,12 +234,9 @@ void Graphics_ThreadUpdate() {
gSysFrameCount++;
Graphics_InitializeTask(gSysFrameCount);
osRecvMesg(&gControllerMesgQueue, NULL, OS_MESG_NOBLOCK);
osSendMesg(&gSerialThreadMesgQueue, OS_MESG_32(SI_RUMBLE), OS_MESG_PRI_NORMAL);
Controller_UpdateInput();
Controller_ReadData();
Controller_Rumble();
osSendMesg(&gSerialThreadMesgQueue, OS_MESG_32(SI_READ_CONTROLLER), OS_MESG_PRI_NORMAL);
Main_SetVIMode();
{
__gSPSegment(gUnkDisp1++, 0, 0);
@ -254,7 +251,6 @@ void Graphics_ThreadUpdate() {
gDPFullSync(gMasterDisp++);
gSPEndDisplayList(gMasterDisp++);
}
osRecvMesg(&gGfxTaskMesgQueue, NULL, OS_MESG_BLOCK);
Graphics_SetTask();
if (GfxDebuggerIsDebuggingRequested()) {
@ -277,7 +273,6 @@ void Graphics_ThreadUpdate() {
// osRecvMesg(&gGfxVImsgQueue, NULL, OS_MESG_BLOCK);
// }
osSendMesg(&gTaskMesgQueue, OS_MESG_PTR(NULL), OS_MESG_NOBLOCK);
Audio_Update();
}