summaryrefslogtreecommitdiff
path: root/src/core/hle/service/service.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2015-04-07 23:01:07 -0400
committerGravatar bunnei2015-04-07 23:01:07 -0400
commite630fd2a95f01284b0e19adaae49bd0db1ebbbe3 (patch)
tree6dbc12a2fa1ffc283f1a27f80275a87a9aeac2be /src/core/hle/service/service.cpp
parentMerge pull request #686 from lioncash/vfp (diff)
parentIR: Move The IR services to their own folder and implement "GetHandles" (diff)
downloadyuzu-e630fd2a95f01284b0e19adaae49bd0db1ebbbe3.tar.gz
yuzu-e630fd2a95f01284b0e19adaae49bd0db1ebbbe3.tar.xz
yuzu-e630fd2a95f01284b0e19adaae49bd0db1ebbbe3.zip
Merge pull request #676 from purpasmart96/ir_service_refc
IR: Move The IR services to their own folder and implement "GetHandles"
Diffstat (limited to 'src/core/hle/service/service.cpp')
-rw-r--r--src/core/hle/service/service.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp
index eeb404659..134ff1740 100644
--- a/src/core/hle/service/service.cpp
+++ b/src/core/hle/service/service.cpp
@@ -24,8 +24,6 @@
24#include "core/hle/service/gsp_gpu.h" 24#include "core/hle/service/gsp_gpu.h"
25#include "core/hle/service/gsp_lcd.h" 25#include "core/hle/service/gsp_lcd.h"
26#include "core/hle/service/http_c.h" 26#include "core/hle/service/http_c.h"
27#include "core/hle/service/ir_rst.h"
28#include "core/hle/service/ir_u.h"
29#include "core/hle/service/ldr_ro.h" 27#include "core/hle/service/ldr_ro.h"
30#include "core/hle/service/mic_u.h" 28#include "core/hle/service/mic_u.h"
31#include "core/hle/service/ndm_u.h" 29#include "core/hle/service/ndm_u.h"
@@ -45,6 +43,7 @@
45#include "core/hle/service/fs/archive.h" 43#include "core/hle/service/fs/archive.h"
46#include "core/hle/service/cfg/cfg.h" 44#include "core/hle/service/cfg/cfg.h"
47#include "core/hle/service/hid/hid.h" 45#include "core/hle/service/hid/hid.h"
46#include "core/hle/service/ir/ir.h"
48#include "core/hle/service/ptm/ptm.h" 47#include "core/hle/service/ptm/ptm.h"
49 48
50namespace Service { 49namespace Service {
@@ -73,6 +72,7 @@ void Init() {
73 Service::APT::Init(); 72 Service::APT::Init();
74 Service::PTM::Init(); 73 Service::PTM::Init();
75 Service::HID::Init(); 74 Service::HID::Init();
75 Service::IR::Init();
76 76
77 AddService(new AC_U::Interface); 77 AddService(new AC_U::Interface);
78 AddService(new ACT_U::Interface); 78 AddService(new ACT_U::Interface);
@@ -91,8 +91,6 @@ void Init() {
91 AddService(new GSP_GPU::Interface); 91 AddService(new GSP_GPU::Interface);
92 AddService(new GSP_LCD::Interface); 92 AddService(new GSP_LCD::Interface);
93 AddService(new HTTP_C::Interface); 93 AddService(new HTTP_C::Interface);
94 AddService(new IR_RST::Interface);
95 AddService(new IR_U::Interface);
96 AddService(new LDR_RO::Interface); 94 AddService(new LDR_RO::Interface);
97 AddService(new MIC_U::Interface); 95 AddService(new MIC_U::Interface);
98 AddService(new NDM_U::Interface); 96 AddService(new NDM_U::Interface);
@@ -112,6 +110,7 @@ void Init() {
112 110
113/// Shutdown ServiceManager 111/// Shutdown ServiceManager
114void Shutdown() { 112void Shutdown() {
113 Service::IR::Shutdown();
115 Service::HID::Shutdown(); 114 Service::HID::Shutdown();
116 Service::PTM::Shutdown(); 115 Service::PTM::Shutdown();
117 Service::APT::Shutdown(); 116 Service::APT::Shutdown();