Don't wait directly from GPUCommon, do it in sceGe.

Makes debugging a bit easier.
This commit is contained in:
Unknown W. Brackets
2013-08-10 18:24:40 -07:00
parent cfb1d02182
commit 26c072df51
3 changed files with 16 additions and 6 deletions
+10
View File
@@ -215,6 +215,16 @@ bool __GeTriggerInterrupt(int listid, u32 pc, u64 atTicks)
return true;
}
void __GeWaitCurrentThread(WaitType type, SceUID waitId, const char *reason)
{
__KernelWaitCurThread(type, waitId, 0, 0, false, reason);
}
void __GeTriggerWait(WaitType type, SceUID waitId, const char *reason, bool noSwitch)
{
__KernelTriggerWait(type, waitId, 0, reason, noSwitch);
}
bool __GeHasPendingInterrupt()
{
return !ge_pending_cb.empty();