Skip to content
Snippets Groups Projects
Commit 02b36b0e authored by Zach Hilman's avatar Zach Hilman
Browse files

sdmc_factory: Add accessor for content directory

parent 49c44e3f
No related branches found
No related tags found
No related merge requests found
......@@ -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();
}
......
......@@ -19,6 +19,9 @@ public:
~SDMCFactory();
ResultVal<VirtualDir> Open();
VirtualDir GetSDMCContentDirectory() const;
RegisteredCache* GetSDMCContents() const;
private:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment