Fixing warning.

This commit is contained in:
Ben Vanik 2015-02-13 15:50:37 -08:00
parent 02fc47a68d
commit 04b30fef99
1 changed files with 1 additions and 1 deletions

View File

@ -409,7 +409,7 @@ SHIM_CALL NtSetInformationFile_shim(PPCContext* ppc_state, KernelState* state) {
case XFileDispositionInformation: {
// Used to set deletion flag. Which we don't support. Probably?
info = 0;
bool delete_on_close = SHIM_MEM_8(file_info_ptr);
bool delete_on_close = SHIM_MEM_8(file_info_ptr) ? true : false;
XELOGW("NtSetInformationFile ignoring delete on close: %d",
delete_on_close);
break;