summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-04-29 00:42:36 +0200
committerZach Hilman <zachhilman@gmail.com>2019-09-30 23:20:49 +0200
commitf2073217a4b074f53e1932eaf41cf08d6296b21f (patch)
treeea7d7fddd9023e42ac37a2219efecaaa6a1ac03c /src/core/hle
parentvfs: Add function to extract ZIP file into virtual filesystem (diff)
downloadyuzu-f2073217a4b074f53e1932eaf41cf08d6296b21f.tar
yuzu-f2073217a4b074f53e1932eaf41cf08d6296b21f.tar.gz
yuzu-f2073217a4b074f53e1932eaf41cf08d6296b21f.tar.bz2
yuzu-f2073217a4b074f53e1932eaf41cf08d6296b21f.tar.lz
yuzu-f2073217a4b074f53e1932eaf41cf08d6296b21f.tar.xz
yuzu-f2073217a4b074f53e1932eaf41cf08d6296b21f.tar.zst
yuzu-f2073217a4b074f53e1932eaf41cf08d6296b21f.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/filesystem/filesystem.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/hle/service/filesystem/filesystem.cpp b/src/core/hle/service/filesystem/filesystem.cpp
index 14cd0e322..9cb107668 100644
--- a/src/core/hle/service/filesystem/filesystem.cpp
+++ b/src/core/hle/service/filesystem/filesystem.cpp
@@ -674,6 +674,15 @@ FileSys::VirtualDir FileSystemController::GetModificationDumpRoot(u64 title_id)
return bis_factory->GetModificationDumpRoot(title_id);
}
+FileSys::VirtualDir GetBCATDirectory(u64 title_id) {
+ LOG_TRACE(Service_FS, "Opening BCAT root for tid={:016X}", title_id);
+
+ if (bis_factory == nullptr)
+ return nullptr;
+
+ return bis_factory->GetBCATDirectory(title_id);
+}
+
void FileSystemController::CreateFactories(FileSys::VfsFilesystem& vfs, bool overwrite) {
if (overwrite) {
bis_factory = nullptr;