aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/fs/archive.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-03-04 21:27:24 -0500
committerbunnei <bunneidev@gmail.com>2015-03-04 21:27:24 -0500
commit8e4e28aacb38b4f80c3ae80167841f4e451f6ef5 (patch)
treecd4efbdfb0e01e9e2b424f17339f11873c90485c /src/core/hle/service/fs/archive.cpp
parent8fc8c51118a190622728369f267877402f7bfb98 (diff)
parent83a8975cb89b908b4737d647a210c19775f25ed7 (diff)
Merge pull request #615 from Subv/services
Services: Moved the PTM and APT services to their own folder
Diffstat (limited to 'src/core/hle/service/fs/archive.cpp')
-rw-r--r--src/core/hle/service/fs/archive.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/service/fs/archive.cpp b/src/core/hle/service/fs/archive.cpp
index c5020cb24..9da2e7aa2 100644
--- a/src/core/hle/service/fs/archive.cpp
+++ b/src/core/hle/service/fs/archive.cpp
@@ -20,7 +20,9 @@
#include "core/file_sys/archive_sdmc.h"
#include "core/file_sys/archive_systemsavedata.h"
#include "core/file_sys/directory_backend.h"
+#include "core/hle/service/service.h"
#include "core/hle/service/fs/archive.h"
+#include "core/hle/service/fs/fs_user.h"
#include "core/hle/result.h"
// Specializes std::hash for ArchiveIdCode, so that we can use it in std::unordered_map.
@@ -419,6 +421,8 @@ ResultCode CreateExtSaveData(u32 high, u32 low) {
void ArchiveInit() {
next_handle = 1;
+ AddService(new FS::Interface);
+
// TODO(Subv): Add the other archive types (see here for the known types:
// http://3dbrew.org/wiki/FS:OpenArchive#Archive_idcodes).