[XAM] Fix xeXMsgStartIORequestEx result check.

This commit is contained in:
gibbed 2022-01-11 04:15:49 -06:00 committed by Rick Gibbed
parent 233ed107fe
commit f4d60f3fc4
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ X_HRESULT xeXMsgStartIORequestEx(uint32_t app, uint32_t message,
kernel_state()->CompleteOverlappedImmediate(overlapped_ptr, result);
result = X_ERROR_IO_PENDING;
}
if (result == X_ERROR_SUCCESS || X_ERROR_IO_PENDING) {
if (result == X_ERROR_SUCCESS || result == X_ERROR_IO_PENDING) {
XThread::SetLastError(0);
}
return result;