diff options
author | Zach Hilman <zachhilman@gmail.com> | 2019-04-10 18:32:49 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2019-09-21 22:43:10 +0200 |
commit | 08c0783d345550c673763328d102095345940dcc (patch) | |
tree | edeb349fa242e6acde17c12cdb40673d137d800e /src/core/file_sys | |
parent | sdmc_factory: Add accessor for SDMC PlaceholderCache (diff) | |
download | yuzu-08c0783d345550c673763328d102095345940dcc.tar yuzu-08c0783d345550c673763328d102095345940dcc.tar.gz yuzu-08c0783d345550c673763328d102095345940dcc.tar.bz2 yuzu-08c0783d345550c673763328d102095345940dcc.tar.lz yuzu-08c0783d345550c673763328d102095345940dcc.tar.xz yuzu-08c0783d345550c673763328d102095345940dcc.tar.zst yuzu-08c0783d345550c673763328d102095345940dcc.zip |
Diffstat (limited to 'src/core/file_sys')
-rw-r--r-- | src/core/file_sys/sdmc_factory.cpp | 4 | ||||
-rw-r--r-- | src/core/file_sys/sdmc_factory.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/core/file_sys/sdmc_factory.cpp b/src/core/file_sys/sdmc_factory.cpp index d63d960ce..a5f1dcc5c 100644 --- a/src/core/file_sys/sdmc_factory.cpp +++ b/src/core/file_sys/sdmc_factory.cpp @@ -36,4 +36,8 @@ PlaceholderCache* SDMCFactory::GetSDMCPlaceholder() const { return placeholder.get(); } +VirtualDir SDMCFactory::GetImageDirectory() const { + return GetOrCreateDirectoryRelative(dir, "/Nintendo/Album"); +} + } // namespace FileSys diff --git a/src/core/file_sys/sdmc_factory.h b/src/core/file_sys/sdmc_factory.h index 2ef5909a6..abe6cc41c 100644 --- a/src/core/file_sys/sdmc_factory.h +++ b/src/core/file_sys/sdmc_factory.h @@ -26,6 +26,8 @@ public: RegisteredCache* GetSDMCContents() const; PlaceholderCache* GetSDMCPlaceholder() const; + VirtualDir GetImageDirectory() const; + private: VirtualDir dir; |