From 919882dd6812a53278fdb5ed45075aa8a497b549 Mon Sep 17 00:00:00 2001 From: gibbed Date: Thu, 29 Nov 2018 12:34:56 -0600 Subject: [PATCH] [Kernel] Fix use of wrong macro in XamEnumerate for extended error. --- src/xenia/kernel/xam/xam_info.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenia/kernel/xam/xam_info.cc b/src/xenia/kernel/xam/xam_info.cc index af1c5c3ee..89feec37e 100644 --- a/src/xenia/kernel/xam/xam_info.cc +++ b/src/xenia/kernel/xam/xam_info.cc @@ -396,7 +396,7 @@ dword_result_t XamEnumerate(dword_t handle, dword_t flags, lpvoid_t buffer, kernel_state()->CompleteOverlappedImmediateEx( overlapped, result == X_ERROR_SUCCESS ? X_ERROR_SUCCESS : X_ERROR_FUNCTION_FAILED, - X_RESULT_FROM_WIN32(result), + X_HRESULT_FROM_WIN32(result), result == X_ERROR_SUCCESS ? item_count : 0); return X_ERROR_IO_PENDING; } else {