mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-08 12:09:58 +00:00
Service/ACT: move ACT services to folder
This commit is contained in:
parent
da995a4377
commit
5dea1faedd
8 changed files with 44 additions and 10 deletions
|
@ -52,8 +52,9 @@ set(SRCS
|
||||||
hle/kernel/timer.cpp
|
hle/kernel/timer.cpp
|
||||||
hle/kernel/vm_manager.cpp
|
hle/kernel/vm_manager.cpp
|
||||||
hle/service/ac_u.cpp
|
hle/service/ac_u.cpp
|
||||||
hle/service/act_a.cpp
|
hle/service/act/act.cpp
|
||||||
hle/service/act_u.cpp
|
hle/service/act/act_a.cpp
|
||||||
|
hle/service/act/act_u.cpp
|
||||||
hle/service/am/am.cpp
|
hle/service/am/am.cpp
|
||||||
hle/service/am/am_app.cpp
|
hle/service/am/am_app.cpp
|
||||||
hle/service/am/am_net.cpp
|
hle/service/am/am_net.cpp
|
||||||
|
@ -215,8 +216,9 @@ set(HEADERS
|
||||||
hle/kernel/vm_manager.h
|
hle/kernel/vm_manager.h
|
||||||
hle/result.h
|
hle/result.h
|
||||||
hle/service/ac_u.h
|
hle/service/ac_u.h
|
||||||
hle/service/act_a.h
|
hle/service/act/act.h
|
||||||
hle/service/act_u.h
|
hle/service/act/act_a.h
|
||||||
|
hle/service/act/act_u.h
|
||||||
hle/service/am/am.h
|
hle/service/am/am.h
|
||||||
hle/service/am/am_app.h
|
hle/service/am/am_app.h
|
||||||
hle/service/am/am_net.h
|
hle/service/am/am_net.h
|
||||||
|
|
18
src/core/hle/service/act/act.cpp
Normal file
18
src/core/hle/service/act/act.cpp
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
// Copyright 2016 Citra Emulator Project
|
||||||
|
// Licensed under GPLv2 or any later version
|
||||||
|
// Refer to the license.txt file included.
|
||||||
|
|
||||||
|
#include "core/hle/service/act/act.h"
|
||||||
|
#include "core/hle/service/act/act_a.h"
|
||||||
|
#include "core/hle/service/act/act_u.h"
|
||||||
|
|
||||||
|
namespace Service {
|
||||||
|
namespace ACT {
|
||||||
|
|
||||||
|
void Init() {
|
||||||
|
AddService(new ACT_A);
|
||||||
|
AddService(new ACT_U);
|
||||||
|
}
|
||||||
|
|
||||||
|
} // namespace ACT
|
||||||
|
} // namespace Service
|
14
src/core/hle/service/act/act.h
Normal file
14
src/core/hle/service/act/act.h
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
// Copyright 2016 Citra Emulator Project
|
||||||
|
// Licensed under GPLv2 or any later version
|
||||||
|
// Refer to the license.txt file included.
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
namespace Service {
|
||||||
|
namespace ACT {
|
||||||
|
|
||||||
|
/// Initialize AM service
|
||||||
|
void Init();
|
||||||
|
|
||||||
|
} // namespace ACT
|
||||||
|
} // namespace Service
|
|
@ -2,7 +2,8 @@
|
||||||
// Licensed under GPLv2 or any later version
|
// Licensed under GPLv2 or any later version
|
||||||
// Refer to the license.txt file included.
|
// Refer to the license.txt file included.
|
||||||
|
|
||||||
#include "core/hle/service/act_a.h"
|
#include "core/hle/service/act/act.h"
|
||||||
|
#include "core/hle/service/act/act_a.h"
|
||||||
|
|
||||||
namespace Service {
|
namespace Service {
|
||||||
namespace ACT {
|
namespace ACT {
|
|
@ -2,7 +2,8 @@
|
||||||
// Licensed under GPLv2 or any later version
|
// Licensed under GPLv2 or any later version
|
||||||
// Refer to the license.txt file included.
|
// Refer to the license.txt file included.
|
||||||
|
|
||||||
#include "core/hle/service/act_u.h"
|
#include "core/hle/service/act/act.h"
|
||||||
|
#include "core/hle/service/act/act_u.h"
|
||||||
|
|
||||||
namespace Service {
|
namespace Service {
|
||||||
namespace ACT {
|
namespace ACT {
|
|
@ -5,8 +5,7 @@
|
||||||
#include "common/logging/log.h"
|
#include "common/logging/log.h"
|
||||||
#include "common/string_util.h"
|
#include "common/string_util.h"
|
||||||
#include "core/hle/service/ac_u.h"
|
#include "core/hle/service/ac_u.h"
|
||||||
#include "core/hle/service/act_a.h"
|
#include "core/hle/service/act/act.h"
|
||||||
#include "core/hle/service/act_u.h"
|
|
||||||
#include "core/hle/service/am/am.h"
|
#include "core/hle/service/am/am.h"
|
||||||
#include "core/hle/service/apt/apt.h"
|
#include "core/hle/service/apt/apt.h"
|
||||||
#include "core/hle/service/boss/boss.h"
|
#include "core/hle/service/boss/boss.h"
|
||||||
|
@ -113,6 +112,7 @@ void Init() {
|
||||||
AddNamedPort(new ERR::ERR_F);
|
AddNamedPort(new ERR::ERR_F);
|
||||||
|
|
||||||
FS::ArchiveInit();
|
FS::ArchiveInit();
|
||||||
|
ACT::Init();
|
||||||
AM::Init();
|
AM::Init();
|
||||||
APT::Init();
|
APT::Init();
|
||||||
BOSS::Init();
|
BOSS::Init();
|
||||||
|
@ -132,8 +132,6 @@ void Init() {
|
||||||
QTM::Init();
|
QTM::Init();
|
||||||
|
|
||||||
AddService(new AC::AC_U);
|
AddService(new AC::AC_U);
|
||||||
AddService(new ACT::ACT_A);
|
|
||||||
AddService(new ACT::ACT_U);
|
|
||||||
AddService(new CSND::CSND_SND);
|
AddService(new CSND::CSND_SND);
|
||||||
AddService(new DSP_DSP::Interface);
|
AddService(new DSP_DSP::Interface);
|
||||||
AddService(new GSP::GSP_GPU);
|
AddService(new GSP::GSP_GPU);
|
||||||
|
|
Loading…
Reference in a new issue