summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2014-12-15 05:51:38 +0100
committerYuri Kunde Schlesner <yuriks@yuriks.net>2014-12-16 04:08:42 +0100
commit82fe821e8734faab6cad29bc0377c2f630c1f876 (patch)
tree15d3d0bf408afb93bf16a139ec9f4aecb76c1519 /src/core/hle
parentService.FS: Do archive registration using IdCode instead of name (diff)
downloadyuzu-82fe821e8734faab6cad29bc0377c2f630c1f876.tar
yuzu-82fe821e8734faab6cad29bc0377c2f630c1f876.tar.gz
yuzu-82fe821e8734faab6cad29bc0377c2f630c1f876.tar.bz2
yuzu-82fe821e8734faab6cad29bc0377c2f630c1f876.tar.lz
yuzu-82fe821e8734faab6cad29bc0377c2f630c1f876.tar.xz
yuzu-82fe821e8734faab6cad29bc0377c2f630c1f876.tar.zst
yuzu-82fe821e8734faab6cad29bc0377c2f630c1f876.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/service/fs/archive.cpp6
-rw-r--r--src/core/hle/service/fs/archive.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/core/hle/service/fs/archive.cpp b/src/core/hle/service/fs/archive.cpp
index 61cbfa73c..6ec310a63 100644
--- a/src/core/hle/service/fs/archive.cpp
+++ b/src/core/hle/service/fs/archive.cpp
@@ -8,7 +8,7 @@
#include "common/file_util.h"
#include "common/math_util.h"
-#include "core/file_sys/archive.h"
+#include "core/file_sys/archive_backend.h"
#include "core/file_sys/archive_sdmc.h"
#include "core/file_sys/directory.h"
#include "core/hle/service/fs/archive.h"
@@ -46,7 +46,7 @@ public:
std::string GetName() const override { return "Archive: " + backend->GetName(); }
ArchiveIdCode id_code; ///< Id code of the archive
- FileSys::Archive* backend; ///< Archive backend interface
+ FileSys::ArchiveBackend* backend; ///< Archive backend interface
ResultVal<bool> SyncRequest() override {
u32* cmd_buff = Kernel::GetCommandBuffer();
@@ -267,7 +267,7 @@ ResultCode MountArchive(Archive* archive) {
return RESULT_SUCCESS;
}
-ResultCode CreateArchive(FileSys::Archive* backend, ArchiveIdCode id_code) {
+ResultCode CreateArchive(FileSys::ArchiveBackend* backend, ArchiveIdCode id_code) {
Archive* archive = new Archive;
Handle handle = Kernel::g_object_pool.Create(archive);
archive->id_code = id_code;
diff --git a/src/core/hle/service/fs/archive.h b/src/core/hle/service/fs/archive.h
index 9a1df5110..2c50dfff0 100644
--- a/src/core/hle/service/fs/archive.h
+++ b/src/core/hle/service/fs/archive.h
@@ -6,7 +6,7 @@
#include "common/common_types.h"
-#include "core/file_sys/archive.h"
+#include "core/file_sys/archive_backend.h"
#include "core/hle/kernel/kernel.h"
#include "core/hle/result.h"
@@ -42,7 +42,7 @@ ResultCode CloseArchive(ArchiveIdCode id_code);
* @param backend File system backend interface to the archive
* @param id_code Id code used to access this type of archive
*/
-ResultCode CreateArchive(FileSys::Archive* backend, ArchiveIdCode id_code);
+ResultCode CreateArchive(FileSys::ArchiveBackend* backend, ArchiveIdCode id_code);
/**
* Open a File from an Archive