From c673d55c1ee80e1ed9c5d1b217a9592d2e6aa157 Mon Sep 17 00:00:00 2001 From: gibbed Date: Mon, 20 Jan 2014 06:02:30 -0800 Subject: [PATCH] Corrected XFileXctdCompressionInformation handling. Needs to be further corrected in the future. --- src/xenia/kernel/xboxkrnl_io.cc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/xenia/kernel/xboxkrnl_io.cc b/src/xenia/kernel/xboxkrnl_io.cc index f65dda9ca..09b48431e 100644 --- a/src/xenia/kernel/xboxkrnl_io.cc +++ b/src/xenia/kernel/xboxkrnl_io.cc @@ -418,13 +418,11 @@ SHIM_CALL NtQueryInformationFile_shim( file_info.Write(SHIM_MEM_BASE, file_info_ptr); } break; - case XFileMailslotSetInformation: + case XFileXctdCompressionInformation: // Read timeout. if (length == 4) { - info = 4; // ? it's not a read. - uint32_t read_timeout = SHIM_MEM_32(file_info_ptr); - // May be INFINITE. - // Do something with this? + info = 4; + SHIM_SET_MEM_64(file_info_ptr, 0); // TODO(gibbed): determine how we figure this out } else { result = X_STATUS_INFO_LENGTH_MISMATCH; }