diff options
author | archshift <admin@archshift.com> | 2014-10-29 06:52:56 +0100 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-11-02 19:48:28 +0100 |
commit | 04c90c395d27e6bc205fb2d933ced50e70c1841a (patch) | |
tree | 18f5e206016e383ad07493e3ad5ba1279301e6a8 /src/core/hle/kernel/archive.h | |
parent | Merge pull request #178 from archshift/errf (diff) | |
download | yuzu-04c90c395d27e6bc205fb2d933ced50e70c1841a.tar yuzu-04c90c395d27e6bc205fb2d933ced50e70c1841a.tar.gz yuzu-04c90c395d27e6bc205fb2d933ced50e70c1841a.tar.bz2 yuzu-04c90c395d27e6bc205fb2d933ced50e70c1841a.tar.lz yuzu-04c90c395d27e6bc205fb2d933ced50e70c1841a.tar.xz yuzu-04c90c395d27e6bc205fb2d933ced50e70c1841a.tar.zst yuzu-04c90c395d27e6bc205fb2d933ced50e70c1841a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/archive.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/core/hle/kernel/archive.h b/src/core/hle/kernel/archive.h index 593861f8e..0230996b6 100644 --- a/src/core/hle/kernel/archive.h +++ b/src/core/hle/kernel/archive.h @@ -43,7 +43,15 @@ Handle CreateArchive(FileSys::Archive* backend, const std::string& name); * @param mode Mode under which to open the File * @return Opened File object */ -Handle OpenFileFromArchive(Handle handle, const std::string& name, const FileSys::Mode mode); +Handle OpenFileFromArchive(Handle archive_handle, const std::string& name, const FileSys::Mode mode); + +/** + * Create a Directory from an Archive + * @param archive_handle Handle to an open Archive object + * @param path Path to the Directory inside of the Archive + * @return Whether creation of directory succeeded + */ +Result CreateDirectoryFromArchive(Handle archive_handle, const std::string& name); /** * Open a Directory from an Archive @@ -51,7 +59,7 @@ Handle OpenFileFromArchive(Handle handle, const std::string& name, const FileSys * @param path Path to the Directory inside of the Archive * @return Opened Directory object */ -Handle OpenDirectoryFromArchive(Handle handle, const std::string& name); +Handle OpenDirectoryFromArchive(Handle archive_handle, const std::string& name); /// Initialize archives void ArchiveInit(); |