From 5250f0ca3e7ec511944e684b79dee20fda36a501 Mon Sep 17 00:00:00 2001 From: "Dr. Chat" Date: Fri, 5 Jun 2015 18:58:39 -0500 Subject: [PATCH] NtQueryInformationFile: Return X_STATUS_UNSUCCESSFUL on default cause --- src/xenia/kernel/xboxkrnl_io.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xenia/kernel/xboxkrnl_io.cc b/src/xenia/kernel/xboxkrnl_io.cc index 3a79fb206..0156688b8 100644 --- a/src/xenia/kernel/xboxkrnl_io.cc +++ b/src/xenia/kernel/xboxkrnl_io.cc @@ -551,6 +551,7 @@ dword_result_t NtQueryInformationFile(dword_t file_handle, // Unsupported, for now. assert_always(); info = 0; + result = X_STATUS_UNSUCCESSFUL; break; } } else {