mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2024-11-24 04:58:31 +00:00
commit
4ac4c3caf1
4 changed files with 59 additions and 0 deletions
|
@ -32,6 +32,7 @@ set(SRCS
|
|||
hle/kernel/thread.cpp
|
||||
hle/service/ac_u.cpp
|
||||
hle/service/apt_u.cpp
|
||||
hle/service/boss_u.cpp
|
||||
hle/service/cfg_u.cpp
|
||||
hle/service/dsp_dsp.cpp
|
||||
hle/service/err_f.cpp
|
||||
|
@ -103,6 +104,7 @@ set(HEADERS
|
|||
hle/kernel/thread.h
|
||||
hle/service/ac_u.h
|
||||
hle/service/apt_u.h
|
||||
hle/service/boss_u.h
|
||||
hle/service/cfg_u.h
|
||||
hle/service/dsp_dsp.h
|
||||
hle/service/err_f.h
|
||||
|
|
28
src/core/hle/service/boss_u.cpp
Normal file
28
src/core/hle/service/boss_u.cpp
Normal file
|
@ -0,0 +1,28 @@
|
|||
// Copyright 2014 Citra Emulator Project
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "common/log.h"
|
||||
#include "core/hle/hle.h"
|
||||
#include "core/hle/service/boss_u.h"
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Namespace BOSS_U
|
||||
|
||||
namespace BOSS_U {
|
||||
|
||||
const Interface::FunctionInfo FunctionTable[] = {
|
||||
{0x00020100, nullptr, "GetStorageInfo"},
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Interface class
|
||||
|
||||
Interface::Interface() {
|
||||
Register(FunctionTable, ARRAY_SIZE(FunctionTable));
|
||||
}
|
||||
|
||||
Interface::~Interface() {
|
||||
}
|
||||
|
||||
} // namespace
|
27
src/core/hle/service/boss_u.h
Normal file
27
src/core/hle/service/boss_u.h
Normal file
|
@ -0,0 +1,27 @@
|
|||
// Copyright 2014 Citra Emulator Project
|
||||
// Licensed under GPLv2
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "core/hle/service/service.h"
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Namespace BOSS_U
|
||||
|
||||
namespace BOSS_U {
|
||||
|
||||
class Interface : public Service::Interface {
|
||||
public:
|
||||
Interface();
|
||||
~Interface();
|
||||
/**
|
||||
* Gets the string port name used by CTROS for the service
|
||||
* @return Port name of service
|
||||
*/
|
||||
std::string GetPortName() const {
|
||||
return "boss:U";
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace
|
|
@ -8,6 +8,7 @@
|
|||
#include "core/hle/service/service.h"
|
||||
#include "core/hle/service/ac_u.h"
|
||||
#include "core/hle/service/apt_u.h"
|
||||
#include "core/hle/service/boss_u.h"
|
||||
#include "core/hle/service/cfg_u.h"
|
||||
#include "core/hle/service/dsp_dsp.h"
|
||||
#include "core/hle/service/err_f.h"
|
||||
|
@ -78,6 +79,7 @@ void Init() {
|
|||
g_manager->AddService(new SRV::Interface);
|
||||
g_manager->AddService(new AC_U::Interface);
|
||||
g_manager->AddService(new APT_U::Interface);
|
||||
g_manager->AddService(new BOSS_U::Interface);
|
||||
g_manager->AddService(new CFG_U::Interface);
|
||||
g_manager->AddService(new DSP_DSP::Interface);
|
||||
g_manager->AddService(new ERR_F::Interface);
|
||||
|
|
Loading…
Reference in a new issue