Stubbed XFileAllocationInformation and XFileEndOfFileInformation in NtSetInformationFile.

This commit is contained in:
gibbed 2015-05-24 14:18:42 -05:00
parent f1d0fe909f
commit 90d6c81161
1 changed files with 6 additions and 0 deletions

View File

@ -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();