From 127732560398c93ac53e1dfa775f9ac8d89011fc Mon Sep 17 00:00:00 2001 From: gibbed Date: Sun, 19 Jan 2014 00:07:48 -0800 Subject: [PATCH] Stubbed QueryDirectory on STFSContainerEntry. --- src/xenia/kernel/fs/devices/stfs_container_entry.cc | 5 +++++ src/xenia/kernel/fs/devices/stfs_container_entry.h | 1 + 2 files changed, 6 insertions(+) diff --git a/src/xenia/kernel/fs/devices/stfs_container_entry.cc b/src/xenia/kernel/fs/devices/stfs_container_entry.cc index f87b930dd..1cc1a95ea 100644 --- a/src/xenia/kernel/fs/devices/stfs_container_entry.cc +++ b/src/xenia/kernel/fs/devices/stfs_container_entry.cc @@ -42,6 +42,11 @@ X_STATUS STFSContainerEntry::QueryInfo(XFileInfo* out_info) { return X_STATUS_SUCCESS; } +X_STATUS STFSContainerEntry::QueryDirectory(XDirectoryInfo* out_info, size_t length, bool restart) { + XEASSERTALWAYS(); + return X_STATUS_UNSUCCESSFUL; +} + X_STATUS STFSContainerEntry::Open( KernelState* kernel_state, uint32_t desired_access, bool async, diff --git a/src/xenia/kernel/fs/devices/stfs_container_entry.h b/src/xenia/kernel/fs/devices/stfs_container_entry.h index a883ad070..4d24b3f90 100644 --- a/src/xenia/kernel/fs/devices/stfs_container_entry.h +++ b/src/xenia/kernel/fs/devices/stfs_container_entry.h @@ -33,6 +33,7 @@ public: STFSEntry* stfs_entry() const { return stfs_entry_; } virtual X_STATUS QueryInfo(XFileInfo* out_info); + virtual X_STATUS QueryDirectory(XDirectoryInfo* out_info, size_t length, bool restart); virtual X_STATUS Open( KernelState* kernel_state,