summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/archive.h
diff options
context:
space:
mode:
authorGravatar archshift2014-11-24 15:45:20 -0800
committerGravatar archshift2014-12-03 22:50:44 -0800
commit139a4d91d9e8482d8ceeef591b08ab20b0f7e8ee (patch)
treec30714dea3bff0ac20e171509427fabfec26ba17 /src/core/hle/kernel/archive.h
parentImplemented RenameDirectory in FS:USER (diff)
downloadyuzu-139a4d91d9e8482d8ceeef591b08ab20b0f7e8ee.tar.gz
yuzu-139a4d91d9e8482d8ceeef591b08ab20b0f7e8ee.tar.xz
yuzu-139a4d91d9e8482d8ceeef591b08ab20b0f7e8ee.zip
Updated archive.cpp functions for proper error handling
Diffstat (limited to 'src/core/hle/kernel/archive.h')
-rw-r--r--src/core/hle/kernel/archive.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/core/hle/kernel/archive.h b/src/core/hle/kernel/archive.h
index 9d071d315..b50833a2b 100644
--- a/src/core/hle/kernel/archive.h
+++ b/src/core/hle/kernel/archive.h
@@ -50,7 +50,7 @@ ResultVal<Handle> OpenFileFromArchive(Handle archive_handle, const FileSys::Path
50 * @param path Path to the File inside of the Archive 50 * @param path Path to the File inside of the Archive
51 * @return Whether deletion succeeded 51 * @return Whether deletion succeeded
52 */ 52 */
53Result DeleteFileFromArchive(Handle archive_handle, const FileSys::Path& path); 53ResultCode DeleteFileFromArchive(Handle archive_handle, const FileSys::Path& path);
54 54
55/** 55/**
56 * Rename a File between two Archives 56 * Rename a File between two Archives
@@ -60,8 +60,8 @@ Result DeleteFileFromArchive(Handle archive_handle, const FileSys::Path& path);
60 * @param dest_path Path to the File inside of the destination Archive 60 * @param dest_path Path to the File inside of the destination Archive
61 * @return Whether rename succeeded 61 * @return Whether rename succeeded
62 */ 62 */
63Result RenameFileBetweenArchives(Handle src_archive_handle, const FileSys::Path& src_path, 63ResultCode RenameFileBetweenArchives(Handle src_archive_handle, const FileSys::Path& src_path,
64 Handle dest_archive_handle, const FileSys::Path& dest_path); 64 Handle dest_archive_handle, const FileSys::Path& dest_path);
65 65
66/** 66/**
67 * Delete a Directory from an Archive 67 * Delete a Directory from an Archive
@@ -69,7 +69,7 @@ Result RenameFileBetweenArchives(Handle src_archive_handle, const FileSys::Path&
69 * @param path Path to the Directory inside of the Archive 69 * @param path Path to the Directory inside of the Archive
70 * @return Whether deletion succeeded 70 * @return Whether deletion succeeded
71 */ 71 */
72Result DeleteDirectoryFromArchive(Handle archive_handle, const FileSys::Path& path); 72ResultCode DeleteDirectoryFromArchive(Handle archive_handle, const FileSys::Path& path);
73 73
74/** 74/**
75 * Create a Directory from an Archive 75 * Create a Directory from an Archive
@@ -77,7 +77,7 @@ Result DeleteDirectoryFromArchive(Handle archive_handle, const FileSys::Path& pa
77 * @param path Path to the Directory inside of the Archive 77 * @param path Path to the Directory inside of the Archive
78 * @return Whether creation of directory succeeded 78 * @return Whether creation of directory succeeded
79 */ 79 */
80Result CreateDirectoryFromArchive(Handle archive_handle, const FileSys::Path& path); 80ResultCode CreateDirectoryFromArchive(Handle archive_handle, const FileSys::Path& path);
81 81
82/** 82/**
83 * Rename a Directory between two Archives 83 * Rename a Directory between two Archives
@@ -87,8 +87,8 @@ Result CreateDirectoryFromArchive(Handle archive_handle, const FileSys::Path& pa
87 * @param dest_path Path to the Directory inside of the destination Archive 87 * @param dest_path Path to the Directory inside of the destination Archive
88 * @return Whether rename succeeded 88 * @return Whether rename succeeded
89 */ 89 */
90Result RenameDirectoryBetweenArchives(Handle src_archive_handle, const FileSys::Path& src_path, 90ResultCode RenameDirectoryBetweenArchives(Handle src_archive_handle, const FileSys::Path& src_path,
91 Handle dest_archive_handle, const FileSys::Path& dest_path); 91 Handle dest_archive_handle, const FileSys::Path& dest_path);
92 92
93/** 93/**
94 * Open a Directory from an Archive 94 * Open a Directory from an Archive