summaryrefslogtreecommitdiff
path: root/src/core/hle
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/service/act/act.cpp18
-rw-r--r--src/core/hle/service/act/act.h14
-rw-r--r--src/core/hle/service/act/act_a.cpp (renamed from src/core/hle/service/act_a.cpp)3
-rw-r--r--src/core/hle/service/act/act_a.h (renamed from src/core/hle/service/act_a.h)0
-rw-r--r--src/core/hle/service/act/act_u.cpp (renamed from src/core/hle/service/act_u.cpp)3
-rw-r--r--src/core/hle/service/act/act_u.h (renamed from src/core/hle/service/act_u.h)0
-rw-r--r--src/core/hle/service/service.cpp6
7 files changed, 38 insertions, 6 deletions
diff --git a/src/core/hle/service/act/act.cpp b/src/core/hle/service/act/act.cpp
new file mode 100644
index 000000000..9600036c0
--- /dev/null
+++ b/src/core/hle/service/act/act.cpp
@@ -0,0 +1,18 @@
1// Copyright 2016 Citra Emulator Project
2// Licensed under GPLv2 or any later version
3// Refer to the license.txt file included.
4
5#include "core/hle/service/act/act.h"
6#include "core/hle/service/act/act_a.h"
7#include "core/hle/service/act/act_u.h"
8
9namespace Service {
10namespace ACT {
11
12void Init() {
13 AddService(new ACT_A);
14 AddService(new ACT_U);
15}
16
17} // namespace ACT
18} // namespace Service
diff --git a/src/core/hle/service/act/act.h b/src/core/hle/service/act/act.h
new file mode 100644
index 000000000..3481532c0
--- /dev/null
+++ b/src/core/hle/service/act/act.h
@@ -0,0 +1,14 @@
1// Copyright 2016 Citra Emulator Project
2// Licensed under GPLv2 or any later version
3// Refer to the license.txt file included.
4
5#pragma once
6
7namespace Service {
8namespace ACT {
9
10/// Initialize AM service
11void Init();
12
13} // namespace ACT
14} // namespace Service
diff --git a/src/core/hle/service/act_a.cpp b/src/core/hle/service/act/act_a.cpp
index 9880aafff..5c523368f 100644
--- a/src/core/hle/service/act_a.cpp
+++ b/src/core/hle/service/act/act_a.cpp
@@ -2,7 +2,8 @@
2// Licensed under GPLv2 or any later version 2// Licensed under GPLv2 or any later version
3// Refer to the license.txt file included. 3// Refer to the license.txt file included.
4 4
5#include "core/hle/service/act_a.h" 5#include "core/hle/service/act/act.h"
6#include "core/hle/service/act/act_a.h"
6 7
7namespace Service { 8namespace Service {
8namespace ACT { 9namespace ACT {
diff --git a/src/core/hle/service/act_a.h b/src/core/hle/service/act/act_a.h
index e3adb03e5..e3adb03e5 100644
--- a/src/core/hle/service/act_a.h
+++ b/src/core/hle/service/act/act_a.h
diff --git a/src/core/hle/service/act_u.cpp b/src/core/hle/service/act/act_u.cpp
index b4f69c57d..cf98aa1d6 100644
--- a/src/core/hle/service/act_u.cpp
+++ b/src/core/hle/service/act/act_u.cpp
@@ -2,7 +2,8 @@
2// Licensed under GPLv2 or any later version 2// Licensed under GPLv2 or any later version
3// Refer to the license.txt file included. 3// Refer to the license.txt file included.
4 4
5#include "core/hle/service/act_u.h" 5#include "core/hle/service/act/act.h"
6#include "core/hle/service/act/act_u.h"
6 7
7namespace Service { 8namespace Service {
8namespace ACT { 9namespace ACT {
diff --git a/src/core/hle/service/act_u.h b/src/core/hle/service/act/act_u.h
index 9d8538fbf..9d8538fbf 100644
--- a/src/core/hle/service/act_u.h
+++ b/src/core/hle/service/act/act_u.h
diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp
index effecc043..3e70e05ae 100644
--- a/src/core/hle/service/service.cpp
+++ b/src/core/hle/service/service.cpp
@@ -5,8 +5,7 @@
5#include "common/logging/log.h" 5#include "common/logging/log.h"
6#include "common/string_util.h" 6#include "common/string_util.h"
7#include "core/hle/service/ac_u.h" 7#include "core/hle/service/ac_u.h"
8#include "core/hle/service/act_a.h" 8#include "core/hle/service/act/act.h"
9#include "core/hle/service/act_u.h"
10#include "core/hle/service/am/am.h" 9#include "core/hle/service/am/am.h"
11#include "core/hle/service/apt/apt.h" 10#include "core/hle/service/apt/apt.h"
12#include "core/hle/service/boss/boss.h" 11#include "core/hle/service/boss/boss.h"
@@ -113,6 +112,7 @@ void Init() {
113 AddNamedPort(new ERR::ERR_F); 112 AddNamedPort(new ERR::ERR_F);
114 113
115 FS::ArchiveInit(); 114 FS::ArchiveInit();
115 ACT::Init();
116 AM::Init(); 116 AM::Init();
117 APT::Init(); 117 APT::Init();
118 BOSS::Init(); 118 BOSS::Init();
@@ -132,8 +132,6 @@ void Init() {
132 QTM::Init(); 132 QTM::Init();
133 133
134 AddService(new AC::AC_U); 134 AddService(new AC::AC_U);
135 AddService(new ACT::ACT_A);
136 AddService(new ACT::ACT_U);
137 AddService(new CSND::CSND_SND); 135 AddService(new CSND::CSND_SND);
138 AddService(new DSP_DSP::Interface); 136 AddService(new DSP_DSP::Interface);
139 AddService(new GSP::GSP_GPU); 137 AddService(new GSP::GSP_GPU);