diff options
| author | Zach Hilman <zachhilman@gmail.com> | 2019-04-10 12:31:41 -0400 |
|---|---|---|
| committer | Zach Hilman <zachhilman@gmail.com> | 2019-09-21 16:43:10 -0400 |
| commit | 147fa325d9ce468468bf8d8c4169a321bb012d25 (patch) | |
| tree | 220cdb22c2ef13a8c18002d47d6845319d85148f /src/core/file_sys/sdmc_factory.cpp | |
| parent | 85ae1257377c5709f32664dcba04085fd1734120 (diff) | |
sdmc_factory: Add accessor for content directory
Diffstat (limited to 'src/core/file_sys/sdmc_factory.cpp')
| -rw-r--r-- | src/core/file_sys/sdmc_factory.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/file_sys/sdmc_factory.cpp b/src/core/file_sys/sdmc_factory.cpp index bd3a570588..e5668d70e3 100644 --- a/src/core/file_sys/sdmc_factory.cpp +++ b/src/core/file_sys/sdmc_factory.cpp @@ -22,6 +22,10 @@ ResultVal<VirtualDir> SDMCFactory::Open() { return MakeResult<VirtualDir>(dir); } +VirtualDir SDMCFactory::GetSDMCContentDirectory() const { + return GetOrCreateDirectoryRelative(dir, "/Nintendo/Contents"); +} + RegisteredCache* SDMCFactory::GetSDMCContents() const { return contents.get(); } |
