mirror of
https://github.com/xenia-project/xenia.git
synced 2026-04-20 22:13:40 +00:00
Corrected NtQueryFullAttributesFile behavior when root_directory is 0.
This commit is contained in:
parent
7c5ea52022
commit
633d72a98e
1 changed files with 2 additions and 1 deletions
|
|
@ -564,7 +564,8 @@ SHIM_CALL NtQueryFullAttributesFile_shim(PPCContext* ppc_context,
|
|||
X_STATUS result = X_STATUS_NO_SUCH_FILE;
|
||||
|
||||
object_ref<XFile> root_file;
|
||||
if (attrs.root_directory != 0xFFFFFFFD) { // ObDosDevices
|
||||
if (attrs.root_directory != 0xFFFFFFFD && // ObDosDevices
|
||||
attrs.root_directory != 0) {
|
||||
root_file =
|
||||
kernel_state->object_table()->LookupObject<XFile>(attrs.root_directory);
|
||||
assert_not_null(root_file);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue