diff options
| author | 2014-11-17 22:26:54 -0500 | |
|---|---|---|
| committer | 2014-11-17 22:26:54 -0500 | |
| commit | b66859714bda5968e36fed47a2ff8516bcfd2248 (patch) | |
| tree | f1a933079afdfea73e76a187441733642489e2b0 /src/core/hle/kernel/archive.h | |
| parent | Merge pull request #201 from archshift/boss (diff) | |
| parent | Archive: Fixed to not destroy archive handle on close. (diff) | |
| download | yuzu-b66859714bda5968e36fed47a2ff8516bcfd2248.tar.gz yuzu-b66859714bda5968e36fed47a2ff8516bcfd2248.tar.xz yuzu-b66859714bda5968e36fed47a2ff8516bcfd2248.zip | |
Merge pull request #192 from bunnei/fs-fix-paths
FileSys: Updates backend code to use FileSys::Path and fixes binary path types.
Diffstat (limited to 'src/core/hle/kernel/archive.h')
| -rw-r--r-- | src/core/hle/kernel/archive.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/kernel/archive.h b/src/core/hle/kernel/archive.h index 0230996b6..9c6015506 100644 --- a/src/core/hle/kernel/archive.h +++ b/src/core/hle/kernel/archive.h | |||
| @@ -43,7 +43,7 @@ Handle CreateArchive(FileSys::Archive* backend, const std::string& name); | |||
| 43 | * @param mode Mode under which to open the File | 43 | * @param mode Mode under which to open the File |
| 44 | * @return Opened File object | 44 | * @return Opened File object |
| 45 | */ | 45 | */ |
| 46 | Handle OpenFileFromArchive(Handle archive_handle, const std::string& name, const FileSys::Mode mode); | 46 | Handle OpenFileFromArchive(Handle archive_handle, const FileSys::Path& path, const FileSys::Mode mode); |
| 47 | 47 | ||
| 48 | /** | 48 | /** |
| 49 | * Create a Directory from an Archive | 49 | * Create a Directory from an Archive |
| @@ -51,7 +51,7 @@ Handle OpenFileFromArchive(Handle archive_handle, const std::string& name, const | |||
| 51 | * @param path Path to the Directory inside of the Archive | 51 | * @param path Path to the Directory inside of the Archive |
| 52 | * @return Whether creation of directory succeeded | 52 | * @return Whether creation of directory succeeded |
| 53 | */ | 53 | */ |
| 54 | Result CreateDirectoryFromArchive(Handle archive_handle, const std::string& name); | 54 | Result CreateDirectoryFromArchive(Handle archive_handle, const FileSys::Path& path); |
| 55 | 55 | ||
| 56 | /** | 56 | /** |
| 57 | * Open a Directory from an Archive | 57 | * Open a Directory from an Archive |
| @@ -59,7 +59,7 @@ Result CreateDirectoryFromArchive(Handle archive_handle, const std::string& name | |||
| 59 | * @param path Path to the Directory inside of the Archive | 59 | * @param path Path to the Directory inside of the Archive |
| 60 | * @return Opened Directory object | 60 | * @return Opened Directory object |
| 61 | */ | 61 | */ |
| 62 | Handle OpenDirectoryFromArchive(Handle archive_handle, const std::string& name); | 62 | Handle OpenDirectoryFromArchive(Handle archive_handle, const FileSys::Path& path); |
| 63 | 63 | ||
| 64 | /// Initialize archives | 64 | /// Initialize archives |
| 65 | void ArchiveInit(); | 65 | void ArchiveInit(); |