2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

sdmc_factory: Add accessor for SDMC Album directory

This commit is contained in:
Zach Hilman 2019-04-10 12:32:49 -04:00
parent 0084cceb20
commit 08c0783d34
2 changed files with 6 additions and 0 deletions

View file

@ -36,4 +36,8 @@ PlaceholderCache* SDMCFactory::GetSDMCPlaceholder() const {
return placeholder.get();
}
VirtualDir SDMCFactory::GetImageDirectory() const {
return GetOrCreateDirectoryRelative(dir, "/Nintendo/Album");
}
} // namespace FileSys

View file

@ -26,6 +26,8 @@ public:
RegisteredCache* GetSDMCContents() const;
PlaceholderCache* GetSDMCPlaceholder() const;
VirtualDir GetImageDirectory() const;
private:
VirtualDir dir;