diff --git a/src/xenia/kernel/xboxkrnl_io.cc b/src/xenia/kernel/xboxkrnl_io.cc index 598d67c27..80a9b7da6 100644 --- a/src/xenia/kernel/xboxkrnl_io.cc +++ b/src/xenia/kernel/xboxkrnl_io.cc @@ -387,7 +387,6 @@ dword_result_t NtQueryInformationFile( // Internal unique file pointer. Not sure why anyone would want this. assert_true(length == 8); info = 8; - // TODO(benvanik): use pointer to fs:: entry? xe::store_and_swap(file_info_ptr, xe::memory::hash_combine(0, file->path())); @@ -398,7 +397,6 @@ dword_result_t NtQueryInformationFile( // }; assert_true(length == 8); info = 8; - xe::store_and_swap(file_info_ptr, file->position()); break; case XFileNetworkOpenInformation: { @@ -427,6 +425,9 @@ dword_result_t NtQueryInformationFile( } case XFileXctdCompressionInformation: { assert_true(length == 4); + XELOGE( + "NtQueryInformationFile(XFileXctdCompressionInformation) " + "unimplemented"); // This is wrong and puts files into wrong states for games that use // XctdDecompression. /* @@ -454,7 +455,7 @@ dword_result_t NtQueryInformationFile( case XFileSectorInformation: // TODO(benvanik): return sector this file's on. assert_true(length == 4); - + XELOGE("NtQueryInformationFile(XFileSectorInformation) unimplemented"); result = X_STATUS_UNSUCCESSFUL; info = 0; break;