From 90d6c81161af3262e851853a92f8933685578eae Mon Sep 17 00:00:00 2001 From: gibbed Date: Sun, 24 May 2015 14:18:42 -0500 Subject: [PATCH] Stubbed XFileAllocationInformation and XFileEndOfFileInformation in NtSetInformationFile. --- src/xenia/kernel/xboxkrnl_io.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/xenia/kernel/xboxkrnl_io.cc b/src/xenia/kernel/xboxkrnl_io.cc index c29239f1d..9fab96aa5 100644 --- a/src/xenia/kernel/xboxkrnl_io.cc +++ b/src/xenia/kernel/xboxkrnl_io.cc @@ -434,6 +434,12 @@ SHIM_CALL NtSetInformationFile_shim(PPCContext* ppc_state, KernelState* state) { info = 8; file->set_position(SHIM_MEM_64(file_info_ptr)); break; + case XFileAllocationInformation: + case XFileEndOfFileInformation: + assert_true(length == 8); + info = 8; + XELOGW("NtSetInformationFile ignoring alloc/eof"); + break; default: // Unsupported, for now. assert_always();