sdmc_factory: Add accessor for SDMC Album directory
This commit is contained in:
parent
0084cceb20
commit
08c0783d34
|
@ -36,4 +36,8 @@ PlaceholderCache* SDMCFactory::GetSDMCPlaceholder() const {
|
||||||
return placeholder.get();
|
return placeholder.get();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
VirtualDir SDMCFactory::GetImageDirectory() const {
|
||||||
|
return GetOrCreateDirectoryRelative(dir, "/Nintendo/Album");
|
||||||
|
}
|
||||||
|
|
||||||
} // namespace FileSys
|
} // namespace FileSys
|
||||||
|
|
|
@ -26,6 +26,8 @@ public:
|
||||||
RegisteredCache* GetSDMCContents() const;
|
RegisteredCache* GetSDMCContents() const;
|
||||||
PlaceholderCache* GetSDMCPlaceholder() const;
|
PlaceholderCache* GetSDMCPlaceholder() const;
|
||||||
|
|
||||||
|
VirtualDir GetImageDirectory() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
VirtualDir dir;
|
VirtualDir dir;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue