diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-08-19 03:28:17 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2018-08-19 03:28:23 +0200 |
commit | 27da7bc9daf951bce69970881bdbc8719378ca39 (patch) | |
tree | 67fb66ecb4ab97f2036712eb5b75216f75e730bf /src/core/file_sys/romfs_factory.h | |
parent | Merge pull request #838 from FearlessTobi/port-3616 (diff) | |
download | yuzu-27da7bc9daf951bce69970881bdbc8719378ca39.tar yuzu-27da7bc9daf951bce69970881bdbc8719378ca39.tar.gz yuzu-27da7bc9daf951bce69970881bdbc8719378ca39.tar.bz2 yuzu-27da7bc9daf951bce69970881bdbc8719378ca39.tar.lz yuzu-27da7bc9daf951bce69970881bdbc8719378ca39.tar.xz yuzu-27da7bc9daf951bce69970881bdbc8719378ca39.tar.zst yuzu-27da7bc9daf951bce69970881bdbc8719378ca39.zip |
Diffstat (limited to 'src/core/file_sys/romfs_factory.h')
-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; |