diff --git a/src/xenia/kernel/xam/xam_msg.cc b/src/xenia/kernel/xam/xam_msg.cc index 3be2f7ed1..3a1b83c3f 100644 --- a/src/xenia/kernel/xam/xam_msg.cc +++ b/src/xenia/kernel/xam/xam_msg.cc @@ -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;