aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/bis_factory.cpp
diff options
context:
space:
mode:
authorDavid <25727384+ogniK5377@users.noreply.github.com>2019-10-03 19:06:13 +1000
committerGitHub <noreply@github.com>2019-10-03 19:06:13 +1000
commit9aac7fbc22d07a50e6d71dc17da2d8c2eba63968 (patch)
tree26f9fdb35b1ddaf2fe28d7a4867c69a9e5ad4b35 /src/core/file_sys/bis_factory.cpp
parent6bfabdedfd636a74335f5b21b15f170f23c8c1a8 (diff)
parente55d086cc93ea33829e77a2e92be52bcf900767b (diff)
Merge pull request #2539 from DarkLordZach/bcat
bcat: Implement BCAT service and connect to yuzu Boxcat server
Diffstat (limited to 'src/core/file_sys/bis_factory.cpp')
-rw-r--r--src/core/file_sys/bis_factory.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/file_sys/bis_factory.cpp b/src/core/file_sys/bis_factory.cpp
index 8f758d6d9..0af44f340 100644
--- a/src/core/file_sys/bis_factory.cpp
+++ b/src/core/file_sys/bis_factory.cpp
@@ -136,4 +136,9 @@ u64 BISFactory::GetFullNANDTotalSpace() const {
return static_cast<u64>(Settings::values.nand_total_size);
}
+VirtualDir BISFactory::GetBCATDirectory(u64 title_id) const {
+ return GetOrCreateDirectoryRelative(nand_root,
+ fmt::format("/system/save/bcat/{:016X}", title_id));
+}
+
} // namespace FileSys