mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
Corrected QueryDirectory return code for no more files.
This commit is contained in:
parent
4c77616ef9
commit
ff1a3aaa67
|
|
@ -61,7 +61,7 @@ X_STATUS XFile::QueryDirectory(X_FILE_DIRECTORY_INFORMATION* out_info,
|
||||||
|
|
||||||
entry = file_->entry()->IterateChildren(find_engine_, &find_index_);
|
entry = file_->entry()->IterateChildren(find_engine_, &find_index_);
|
||||||
if (!entry) {
|
if (!entry) {
|
||||||
return X_STATUS_NO_SUCH_FILE;
|
return X_STATUS_NO_MORE_FILES;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue