mirror of https://github.com/zeldaret/mm.git
PadMgr_ThreadEntry
This commit is contained in:
parent
29d2b945bb
commit
339b4dc981
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue