Merge pull request #5473 from chinhodado/patch-1

remove a redundant check
This commit is contained in:
Henrik Rydgård 2014-02-16 02:37:37 +01:00
commit 96a19ea982

View File

@ -3402,7 +3402,7 @@ void __KernelReturnFromMipsCall()
{
if (call->cbId > 0)
{
if (waitTypeFuncs[cur->nt.waitType].endFunc != NULL && call->cbId > 0)
if (waitTypeFuncs[cur->nt.waitType].endFunc != NULL)
waitTypeFuncs[cur->nt.waitType].endFunc(cur->GetUID(), cur->currentCallbackId);
else
ERROR_LOG_REPORT(HLE, "Missing begin/restore funcs for wait type %d", cur->nt.waitType);