Fixed QueryDirectory for DiscImageFile and STFSContainerFile.

This commit is contained in:
gibbed 2014-01-19 00:52:17 -08:00
parent 124b419b6b
commit d22b59555e
2 changed files with 2 additions and 4 deletions

View File

@ -42,8 +42,7 @@ X_STATUS DiscImageFile::QueryInfo(XFileInfo* out_info) {
X_STATUS DiscImageFile::QueryDirectory(
XDirectoryInfo* out_info, size_t length, bool restart) {
XEASSERTALWAYS();
return X_STATUS_SUCCESS;
return entry_->QueryDirectory(out_info, length, restart);
}
X_STATUS DiscImageFile::ReadSync(

View File

@ -42,8 +42,7 @@ X_STATUS STFSContainerFile::QueryInfo(XFileInfo* out_info) {
X_STATUS STFSContainerFile::QueryDirectory(
XDirectoryInfo* out_info, size_t length, bool restart) {
XEASSERTALWAYS();
return X_STATUS_SUCCESS;
return entry_->QueryDirectory(out_info, length, restart);
}
X_STATUS STFSContainerFile::ReadSync(