summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/archive.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/kernel/archive.cpp')
-rw-r--r--src/core/hle/kernel/archive.cpp31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/core/hle/kernel/archive.cpp b/src/core/hle/kernel/archive.cpp
index e11dddc84..e273444c9 100644
--- a/src/core/hle/kernel/archive.cpp
+++ b/src/core/hle/kernel/archive.cpp
@@ -52,11 +52,6 @@ public:
52 std::string name; ///< Name of archive (optional) 52 std::string name; ///< Name of archive (optional)
53 FileSys::Archive* backend; ///< Archive backend interface 53 FileSys::Archive* backend; ///< Archive backend interface
54 54
55 /**
56 * Synchronize kernel object
57 * @param wait Boolean wait set if current thread should wait as a result of sync operation
58 * @return Result of operation, 0 on success, otherwise error code
59 */
60 ResultVal<bool> SyncRequest() override { 55 ResultVal<bool> SyncRequest() override {
61 u32* cmd_buff = Service::GetCommandBuffer(); 56 u32* cmd_buff = Service::GetCommandBuffer();
62 FileCommand cmd = static_cast<FileCommand>(cmd_buff[0]); 57 FileCommand cmd = static_cast<FileCommand>(cmd_buff[0]);
@@ -114,11 +109,6 @@ public:
114 return MakeResult<bool>(false); 109 return MakeResult<bool>(false);
115 } 110 }
116 111
117 /**
118 * Wait for kernel object to synchronize
119 * @param wait Boolean wait set if current thread should wait as a result of sync operation
120 * @return Result of operation, 0 on success, otherwise error code
121 */
122 ResultVal<bool> WaitSynchronization() override { 112 ResultVal<bool> WaitSynchronization() override {
123 // TODO(bunnei): ImplementMe 113 // TODO(bunnei): ImplementMe
124 ERROR_LOG(OSHLE, "(UNIMPLEMENTED)"); 114 ERROR_LOG(OSHLE, "(UNIMPLEMENTED)");
@@ -137,11 +127,6 @@ public:
137 FileSys::Path path; ///< Path of the file 127 FileSys::Path path; ///< Path of the file
138 std::unique_ptr<FileSys::File> backend; ///< File backend interface 128 std::unique_ptr<FileSys::File> backend; ///< File backend interface
139 129
140 /**
141 * Synchronize kernel object
142 * @param wait Boolean wait set if current thread should wait as a result of sync operation
143 * @return Result of operation, 0 on success, otherwise error code
144 */
145 ResultVal<bool> SyncRequest() override { 130 ResultVal<bool> SyncRequest() override {
146 u32* cmd_buff = Service::GetCommandBuffer(); 131 u32* cmd_buff = Service::GetCommandBuffer();
147 FileCommand cmd = static_cast<FileCommand>(cmd_buff[0]); 132 FileCommand cmd = static_cast<FileCommand>(cmd_buff[0]);
@@ -208,11 +193,6 @@ public:
208 return MakeResult<bool>(false); 193 return MakeResult<bool>(false);
209 } 194 }
210 195
211 /**
212 * Wait for kernel object to synchronize
213 * @param wait Boolean wait set if current thread should wait as a result of sync operation
214 * @return Result of operation, 0 on success, otherwise error code
215 */
216 ResultVal<bool> WaitSynchronization() override { 196 ResultVal<bool> WaitSynchronization() override {
217 // TODO(bunnei): ImplementMe 197 // TODO(bunnei): ImplementMe
218 ERROR_LOG(OSHLE, "(UNIMPLEMENTED)"); 198 ERROR_LOG(OSHLE, "(UNIMPLEMENTED)");
@@ -231,11 +211,6 @@ public:
231 FileSys::Path path; ///< Path of the directory 211 FileSys::Path path; ///< Path of the directory
232 std::unique_ptr<FileSys::Directory> backend; ///< File backend interface 212 std::unique_ptr<FileSys::Directory> backend; ///< File backend interface
233 213
234 /**
235 * Synchronize kernel object
236 * @param wait Boolean wait set if current thread should wait as a result of sync operation
237 * @return Result of operation, 0 on success, otherwise error code
238 */
239 ResultVal<bool> SyncRequest() override { 214 ResultVal<bool> SyncRequest() override {
240 u32* cmd_buff = Service::GetCommandBuffer(); 215 u32* cmd_buff = Service::GetCommandBuffer();
241 DirectoryCommand cmd = static_cast<DirectoryCommand>(cmd_buff[0]); 216 DirectoryCommand cmd = static_cast<DirectoryCommand>(cmd_buff[0]);
@@ -273,11 +248,6 @@ public:
273 return MakeResult<bool>(false); 248 return MakeResult<bool>(false);
274 } 249 }
275 250
276 /**
277 * Wait for kernel object to synchronize
278 * @param wait Boolean wait set if current thread should wait as a result of sync operation
279 * @return Result of operation, 0 on success, otherwise error code
280 */
281 ResultVal<bool> WaitSynchronization() override { 251 ResultVal<bool> WaitSynchronization() override {
282 // TODO(bunnei): ImplementMe 252 // TODO(bunnei): ImplementMe
283 ERROR_LOG(OSHLE, "(UNIMPLEMENTED)"); 253 ERROR_LOG(OSHLE, "(UNIMPLEMENTED)");
@@ -313,7 +283,6 @@ ResultCode CloseArchive(FileSys::Archive::IdCode id_code) {
313/** 283/**
314 * Mounts an archive 284 * Mounts an archive
315 * @param archive Pointer to the archive to mount 285 * @param archive Pointer to the archive to mount
316 * @return Result of operation
317 */ 286 */
318ResultCode MountArchive(Archive* archive) { 287ResultCode MountArchive(Archive* archive) {
319 FileSys::Archive::IdCode id_code = archive->backend->GetIdCode(); 288 FileSys::Archive::IdCode id_code = archive->backend->GetIdCode();