diff options
author | bunnei <bunneidev@gmail.com> | 2015-03-05 03:27:24 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-03-05 03:27:24 +0100 |
commit | 8e4e28aacb38b4f80c3ae80167841f4e451f6ef5 (patch) | |
tree | cd4efbdfb0e01e9e2b424f17339f11873c90485c /src/core/hle/service/cfg/cfg.cpp | |
parent | Merge pull request #625 from lioncash/warn (diff) | |
parent | Services: Moved the PTM and APT services to their own folder (diff) | |
download | yuzu-8e4e28aacb38b4f80c3ae80167841f4e451f6ef5.tar yuzu-8e4e28aacb38b4f80c3ae80167841f4e451f6ef5.tar.gz yuzu-8e4e28aacb38b4f80c3ae80167841f4e451f6ef5.tar.bz2 yuzu-8e4e28aacb38b4f80c3ae80167841f4e451f6ef5.tar.lz yuzu-8e4e28aacb38b4f80c3ae80167841f4e451f6ef5.tar.xz yuzu-8e4e28aacb38b4f80c3ae80167841f4e451f6ef5.tar.zst yuzu-8e4e28aacb38b4f80c3ae80167841f4e451f6ef5.zip |
Diffstat (limited to 'src/core/hle/service/cfg/cfg.cpp')
-rw-r--r-- | src/core/hle/service/cfg/cfg.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/core/hle/service/cfg/cfg.cpp b/src/core/hle/service/cfg/cfg.cpp index b7cdccb86..1eb2562d8 100644 --- a/src/core/hle/service/cfg/cfg.cpp +++ b/src/core/hle/service/cfg/cfg.cpp @@ -3,9 +3,13 @@ // Refer to the license.txt file included. #include <algorithm> -#include "common/make_unique.h" -#include "core/hle/service/cfg/cfg.h" + #include "core/hle/service/fs/archive.h" +#include "core/hle/service/service.h" +#include "core/hle/service/cfg/cfg.h" +#include "core/hle/service/cfg/cfg_i.h" +#include "core/hle/service/cfg/cfg_s.h" +#include "core/hle/service/cfg/cfg_u.h" namespace Service { namespace CFG { @@ -162,6 +166,10 @@ ResultCode FormatConfig() { } void CFGInit() { + AddService(new CFG_I_Interface); + AddService(new CFG_S_Interface); + AddService(new CFG_U_Interface); + // Open the SystemSaveData archive 0x00010017 FileSys::Path archive_path(cfg_system_savedata_id); auto archive_result = Service::FS::OpenArchive(Service::FS::ArchiveIdCode::SystemSaveData, archive_path); |