mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-28 10:51:06 +00:00
Silence some unused result warnings.
This commit is contained in:
parent
72733cabf4
commit
edf3bf4a8e
@ -386,7 +386,7 @@ int sceKernelWaitEventFlag(SceUID id, u32 bits, u32 wait, u32 outBitsPtr, u32 ti
|
|||||||
return hleLogDebug(SCEKERNEL, SCE_KERNEL_ERROR_EVF_MULTI);
|
return hleLogDebug(SCEKERNEL, SCE_KERNEL_ERROR_EVF_MULTI);
|
||||||
}
|
}
|
||||||
|
|
||||||
hleLogSuccessI(SCEKERNEL, 0, "waiting");
|
(void)hleLogSuccessI(SCEKERNEL, 0, "waiting");
|
||||||
|
|
||||||
// No match - must wait.
|
// No match - must wait.
|
||||||
th.threadID = __KernelGetCurThread();
|
th.threadID = __KernelGetCurThread();
|
||||||
@ -399,7 +399,7 @@ int sceKernelWaitEventFlag(SceUID id, u32 bits, u32 wait, u32 outBitsPtr, u32 ti
|
|||||||
__KernelSetEventFlagTimeout(e, timeoutPtr);
|
__KernelSetEventFlagTimeout(e, timeoutPtr);
|
||||||
__KernelWaitCurThread(WAITTYPE_EVENTFLAG, id, 0, timeoutPtr, false, "event flag waited");
|
__KernelWaitCurThread(WAITTYPE_EVENTFLAG, id, 0, timeoutPtr, false, "event flag waited");
|
||||||
} else {
|
} else {
|
||||||
hleLogSuccessI(SCEKERNEL, 0);
|
(void)hleLogSuccessI(SCEKERNEL, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
hleEatCycles(600);
|
hleEatCycles(600);
|
||||||
@ -449,7 +449,7 @@ int sceKernelWaitEventFlagCB(SceUID id, u32 bits, u32 wait, u32 outBitsPtr, u32
|
|||||||
return hleLogDebug(SCEKERNEL, SCE_KERNEL_ERROR_EVF_MULTI);
|
return hleLogDebug(SCEKERNEL, SCE_KERNEL_ERROR_EVF_MULTI);
|
||||||
}
|
}
|
||||||
|
|
||||||
hleLogSuccessI(SCEKERNEL, 0, "waiting");
|
(void)hleLogSuccessI(SCEKERNEL, 0, "waiting");
|
||||||
|
|
||||||
// No match - must wait.
|
// No match - must wait.
|
||||||
th.threadID = __KernelGetCurThread();
|
th.threadID = __KernelGetCurThread();
|
||||||
@ -465,7 +465,7 @@ int sceKernelWaitEventFlagCB(SceUID id, u32 bits, u32 wait, u32 outBitsPtr, u32
|
|||||||
else
|
else
|
||||||
__KernelWaitCurThread(WAITTYPE_EVENTFLAG, id, 0, timeoutPtr, true, "event flag waited");
|
__KernelWaitCurThread(WAITTYPE_EVENTFLAG, id, 0, timeoutPtr, true, "event flag waited");
|
||||||
} else {
|
} else {
|
||||||
hleLogSuccessI(SCEKERNEL, 0);
|
(void)hleLogSuccessI(SCEKERNEL, 0);
|
||||||
__KernelApplyEventFlagMatch(&e->nef.currentPattern, bits, wait, outBitsPtr);
|
__KernelApplyEventFlagMatch(&e->nef.currentPattern, bits, wait, outBitsPtr);
|
||||||
hleCheckCurrentCallbacks();
|
hleCheckCurrentCallbacks();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user