diff options
author | bunnei <bunneidev@gmail.com> | 2018-08-21 02:17:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-21 02:17:57 +0200 |
commit | dd70ddad7edb7cfbdddaed0ac657544a613d46e2 (patch) | |
tree | 76145c48a1f92f64ef53ef8527df392b0fac10a6 /src/core/file_sys/romfs_factory.h | |
parent | Merge pull request #1127 from yuzu-emu/revert-838-port-3616 (diff) | |
parent | registration: Add Data_Unknown5 NCAContentType (diff) | |
download | yuzu-dd70ddad7edb7cfbdddaed0ac657544a613d46e2.tar yuzu-dd70ddad7edb7cfbdddaed0ac657544a613d46e2.tar.gz yuzu-dd70ddad7edb7cfbdddaed0ac657544a613d46e2.tar.bz2 yuzu-dd70ddad7edb7cfbdddaed0ac657544a613d46e2.tar.lz yuzu-dd70ddad7edb7cfbdddaed0ac657544a613d46e2.tar.xz yuzu-dd70ddad7edb7cfbdddaed0ac657544a613d46e2.tar.zst yuzu-dd70ddad7edb7cfbdddaed0ac657544a613d46e2.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/file_sys/romfs_factory.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/core/file_sys/romfs_factory.h b/src/core/file_sys/romfs_factory.h index c19787cd4..455cd4159 100644 --- a/src/core/file_sys/romfs_factory.h +++ b/src/core/file_sys/romfs_factory.h @@ -11,12 +11,22 @@ namespace FileSys { +enum class StorageId : u8 { + None = 0, + Host = 1, + GameCard = 2, + NandSystem = 3, + NandUser = 4, + SdCard = 5, +}; + /// File system interface to the RomFS archive class RomFSFactory { public: explicit RomFSFactory(Loader::AppLoader& app_loader); - ResultVal<VirtualFile> Open(u64 title_id); + ResultVal<VirtualFile> OpenCurrentProcess(); + ResultVal<VirtualFile> Open(u64 title_id, StorageId storage, ContentRecordType type); private: VirtualFile file; |