diff options
| author | 2016-12-08 00:34:09 -0800 | |
|---|---|---|
| committer | 2016-12-08 00:34:09 -0800 | |
| commit | d098d941d7671c4685801979b828b538e01afeb2 (patch) | |
| tree | 01a3b3d72faf223ae2f625a43ea26dc8ff3d6fd6 /src/core/hle/service/service.cpp | |
| parent | Merge pull request #2277 from lioncash/explicit (diff) | |
| parent | service: Add nfc services (diff) | |
| download | yuzu-d098d941d7671c4685801979b828b538e01afeb2.tar.gz yuzu-d098d941d7671c4685801979b828b538e01afeb2.tar.xz yuzu-d098d941d7671c4685801979b828b538e01afeb2.zip | |
Merge pull request #2284 from lioncash/svc
service: Add nfc services
Diffstat (limited to 'src/core/hle/service/service.cpp')
| -rw-r--r-- | src/core/hle/service/service.cpp | 62 |
1 files changed, 32 insertions, 30 deletions
diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp index ca7eeac8a..5f16c18fa 100644 --- a/src/core/hle/service/service.cpp +++ b/src/core/hle/service/service.cpp | |||
| @@ -28,6 +28,7 @@ | |||
| 28 | #include "core/hle/service/mic_u.h" | 28 | #include "core/hle/service/mic_u.h" |
| 29 | #include "core/hle/service/ndm/ndm.h" | 29 | #include "core/hle/service/ndm/ndm.h" |
| 30 | #include "core/hle/service/news/news.h" | 30 | #include "core/hle/service/news/news.h" |
| 31 | #include "core/hle/service/nfc/nfc.h" | ||
| 31 | #include "core/hle/service/nim/nim.h" | 32 | #include "core/hle/service/nim/nim.h" |
| 32 | #include "core/hle/service/ns_s.h" | 33 | #include "core/hle/service/ns_s.h" |
| 33 | #include "core/hle/service/nwm_uds.h" | 34 | #include "core/hle/service/nwm_uds.h" |
| @@ -109,21 +110,22 @@ void Init() { | |||
| 109 | AddNamedPort(new SRV::Interface); | 110 | AddNamedPort(new SRV::Interface); |
| 110 | AddNamedPort(new ERR_F::Interface); | 111 | AddNamedPort(new ERR_F::Interface); |
| 111 | 112 | ||
| 112 | Service::FS::ArchiveInit(); | 113 | FS::ArchiveInit(); |
| 113 | Service::AM::Init(); | 114 | AM::Init(); |
| 114 | Service::APT::Init(); | 115 | APT::Init(); |
| 115 | Service::BOSS::Init(); | 116 | BOSS::Init(); |
| 116 | Service::CAM::Init(); | 117 | CAM::Init(); |
| 117 | Service::CECD::Init(); | 118 | CECD::Init(); |
| 118 | Service::CFG::Init(); | 119 | CFG::Init(); |
| 119 | Service::DLP::Init(); | 120 | DLP::Init(); |
| 120 | Service::FRD::Init(); | 121 | FRD::Init(); |
| 121 | Service::HID::Init(); | 122 | HID::Init(); |
| 122 | Service::IR::Init(); | 123 | IR::Init(); |
| 123 | Service::NEWS::Init(); | 124 | NDM::Init(); |
| 124 | Service::NDM::Init(); | 125 | NEWS::Init(); |
| 125 | Service::NIM::Init(); | 126 | NFC::Init(); |
| 126 | Service::PTM::Init(); | 127 | NIM::Init(); |
| 128 | PTM::Init(); | ||
| 127 | 129 | ||
| 128 | AddService(new AC_U::Interface); | 130 | AddService(new AC_U::Interface); |
| 129 | AddService(new ACT_A::Interface); | 131 | AddService(new ACT_A::Interface); |
| @@ -148,21 +150,21 @@ void Init() { | |||
| 148 | /// Shutdown ServiceManager | 150 | /// Shutdown ServiceManager |
| 149 | void Shutdown() { | 151 | void Shutdown() { |
| 150 | 152 | ||
| 151 | Service::PTM::Shutdown(); | 153 | PTM::Shutdown(); |
| 152 | Service::NDM::Shutdown(); | 154 | NIM::Shutdown(); |
| 153 | Service::NIM::Shutdown(); | 155 | NEWS::Shutdown(); |
| 154 | Service::NEWS::Shutdown(); | 156 | NDM::Shutdown(); |
| 155 | Service::IR::Shutdown(); | 157 | IR::Shutdown(); |
| 156 | Service::HID::Shutdown(); | 158 | HID::Shutdown(); |
| 157 | Service::FRD::Shutdown(); | 159 | FRD::Shutdown(); |
| 158 | Service::DLP::Shutdown(); | 160 | DLP::Shutdown(); |
| 159 | Service::CFG::Shutdown(); | 161 | CFG::Shutdown(); |
| 160 | Service::CECD::Shutdown(); | 162 | CECD::Shutdown(); |
| 161 | Service::CAM::Shutdown(); | 163 | CAM::Shutdown(); |
| 162 | Service::BOSS::Shutdown(); | 164 | BOSS::Shutdown(); |
| 163 | Service::APT::Shutdown(); | 165 | APT::Shutdown(); |
| 164 | Service::AM::Shutdown(); | 166 | AM::Shutdown(); |
| 165 | Service::FS::ArchiveShutdown(); | 167 | FS::ArchiveShutdown(); |
| 166 | 168 | ||
| 167 | g_srv_services.clear(); | 169 | g_srv_services.clear(); |
| 168 | g_kernel_named_ports.clear(); | 170 | g_kernel_named_ports.clear(); |