mirror of
https://github.com/zeldaret/mm.git
synced 2026-06-01 01:38:54 -04:00
PadMgr_ThreadEntry
This commit is contained in:
+2
-2
@@ -734,7 +734,7 @@ void PadMgr_GetInput2(Input* inputs, s32 gameRequest) {
|
||||
PadMgr_UnlockPadData();
|
||||
}
|
||||
|
||||
void PadMgr_ThreadEntry() {
|
||||
void PadMgr_ThreadEntry(void) {
|
||||
s16* interruptMsg = NULL;
|
||||
s32 actionBits;
|
||||
s32 exit;
|
||||
@@ -798,6 +798,6 @@ void PadMgr_Init(OSMesgQueue* siEvtQ, IrqMgr* irqMgr, OSId threadId, OSPri pri,
|
||||
osContSetCh(sPadMgrInstance->nControllers);
|
||||
PadMgr_ReleaseSerialEventQueue(siEvtQ);
|
||||
|
||||
osCreateThread(&sPadMgrInstance->thread, threadId, PadMgr_ThreadEntry, sPadMgrInstance, stack, pri);
|
||||
osCreateThread(&sPadMgrInstance->thread, threadId, (void*)PadMgr_ThreadEntry, sPadMgrInstance, stack, pri);
|
||||
osStartThread(&sPadMgrInstance->thread);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user