summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/filesystem
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-10-01 15:13:09 +0200
committerZach Hilman <zachhilman@gmail.com>2019-10-01 15:13:09 +0200
commit19c466dfb1f997eaa16fc9d9b832aaf3321adc40 (patch)
treef5aa993c55239c4d5bb8af83496895fe9f98b7b0 /src/core/hle/service/filesystem
parentboxcat: Implement events global field (diff)
downloadyuzu-19c466dfb1f997eaa16fc9d9b832aaf3321adc40.tar
yuzu-19c466dfb1f997eaa16fc9d9b832aaf3321adc40.tar.gz
yuzu-19c466dfb1f997eaa16fc9d9b832aaf3321adc40.tar.bz2
yuzu-19c466dfb1f997eaa16fc9d9b832aaf3321adc40.tar.lz
yuzu-19c466dfb1f997eaa16fc9d9b832aaf3321adc40.tar.xz
yuzu-19c466dfb1f997eaa16fc9d9b832aaf3321adc40.tar.zst
yuzu-19c466dfb1f997eaa16fc9d9b832aaf3321adc40.zip
Diffstat (limited to 'src/core/hle/service/filesystem')
-rw-r--r--src/core/hle/service/filesystem/filesystem.cpp2
-rw-r--r--src/core/hle/service/filesystem/filesystem.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/core/hle/service/filesystem/filesystem.cpp b/src/core/hle/service/filesystem/filesystem.cpp
index 9cb107668..7fa4e820b 100644
--- a/src/core/hle/service/filesystem/filesystem.cpp
+++ b/src/core/hle/service/filesystem/filesystem.cpp
@@ -674,7 +674,7 @@ FileSys::VirtualDir FileSystemController::GetModificationDumpRoot(u64 title_id)
return bis_factory->GetModificationDumpRoot(title_id);
}
-FileSys::VirtualDir GetBCATDirectory(u64 title_id) {
+FileSys::VirtualDir FileSystemController::GetBCATDirectory(u64 title_id) const {
LOG_TRACE(Service_FS, "Opening BCAT root for tid={:016X}", title_id);
if (bis_factory == nullptr)
diff --git a/src/core/hle/service/filesystem/filesystem.h b/src/core/hle/service/filesystem/filesystem.h
index 3e0c03ec0..e6b49d8a2 100644
--- a/src/core/hle/service/filesystem/filesystem.h
+++ b/src/core/hle/service/filesystem/filesystem.h
@@ -110,6 +110,8 @@ public:
FileSys::VirtualDir GetModificationLoadRoot(u64 title_id) const;
FileSys::VirtualDir GetModificationDumpRoot(u64 title_id) const;
+ FileSys::VirtualDir GetBCATDirectory(u64 title_id) const;
+
// Creates the SaveData, SDMC, and BIS Factories. Should be called once and before any function
// above is called.
void CreateFactories(FileSys::VfsFilesystem& vfs, bool overwrite = true);