mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
fixed naming for APT_U
This commit is contained in:
parent
7ec5950bc4
commit
386dd722e7
3 changed files with 9 additions and 9 deletions
|
@ -8,7 +8,7 @@
|
|||
#include "core/hle/hle.h"
|
||||
#include "core/hle/service/apt.h"
|
||||
|
||||
namespace Service {
|
||||
namespace APT_U {
|
||||
|
||||
const HLE::FunctionDef APT_U_Table[] = {
|
||||
{0x00010040, NULL, "GetLockHandle"},
|
||||
|
@ -92,7 +92,7 @@ const HLE::FunctionDef APT_U_Table[] = {
|
|||
};
|
||||
|
||||
// Returns handle to APT Mutex. Not imlemented.
|
||||
Syscall::Result APT_U::GetLockHandle() {
|
||||
Syscall::Result Interface::GetLockHandle() {
|
||||
return 0x00000000;
|
||||
}
|
||||
|
||||
|
@ -100,7 +100,7 @@ Syscall::Result APT_U::GetLockHandle() {
|
|||
* Called when svcSendSyncRequest is called, loads command buffer and executes comand
|
||||
* @return Return result of svcSendSyncRequest passed back to user app
|
||||
*/
|
||||
Syscall::Result APT_U::Sync() {
|
||||
Syscall::Result Interface::Sync() {
|
||||
Syscall::Result res = 0;
|
||||
u32* cmd_buff = (u32*)HLE::GetPointer(HLE::CMD_BUFFER_ADDR + CMD_OFFSET);
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Namespace Service
|
||||
|
||||
namespace Service {
|
||||
namespace APT_U {
|
||||
|
||||
// Application and title launching service. These services handle signaling for home/power button as
|
||||
// well. Only one session for either APT service can be open at a time, normally processes close the
|
||||
|
@ -17,13 +17,13 @@ namespace Service {
|
|||
// exactly the same, however certain commands are only accessible with APT:S(NS module will call
|
||||
// svcBreak when the command isn't accessible). See http://3dbrew.org/wiki/NS#APT_Services.
|
||||
|
||||
class APT_U : public Interface {
|
||||
class Interface : public Service::Interface {
|
||||
public:
|
||||
|
||||
APT_U() {
|
||||
Interface() {
|
||||
}
|
||||
|
||||
~APT_U() {
|
||||
~Interface() {
|
||||
}
|
||||
|
||||
enum {
|
||||
|
@ -62,7 +62,7 @@ private:
|
|||
|
||||
Syscall::Result GetLockHandle();
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(APT_U);
|
||||
DISALLOW_COPY_AND_ASSIGN(Interface);
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
|
|
@ -74,7 +74,7 @@ Interface* Manager::FetchFromPortName(std::string port_name) {
|
|||
void Init() {
|
||||
g_manager = new Manager;
|
||||
g_manager->AddService(new SRV::Interface);
|
||||
g_manager->AddService(new APT_U);
|
||||
g_manager->AddService(new APT_U::Interface);
|
||||
NOTICE_LOG(HLE, "Services initialized OK");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue