mirror of https://github.com/yuzu-mirror/yuzu
Added stub for nim:aoc service...
parent
1356a6b313
commit
89eef9eb6d
@ -0,0 +1,31 @@
|
||||
// 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/nim_aoc.h"
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Namespace NIM_AOC
|
||||
|
||||
namespace NIM_AOC {
|
||||
|
||||
const Interface::FunctionInfo FunctionTable[] = {
|
||||
{0x00030042, nullptr, "SetApplicationId"},
|
||||
{0x00040042, nullptr, "SetTin"},
|
||||
{0x000902D0, nullptr, "ListContentSetsEx"},
|
||||
{0x00180000, nullptr, "GetBalance"},
|
||||
{0x001D0000, nullptr, "GetCustomerSupportCode"},
|
||||
{0x00210000, nullptr, "Initialize"},
|
||||
{0x00240282, nullptr, "CalculateContentsRequiredSize"},
|
||||
{0x00250000, nullptr, "RefreshServerTime"},
|
||||
};
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Interface class
|
||||
|
||||
Interface::Interface() {
|
||||
Register(FunctionTable, ARRAY_SIZE(FunctionTable));
|
||||
}
|
||||
|
||||
} // namespace
|
@ -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 NIM_AOC
|
||||
|
||||
namespace NIM_AOC {
|
||||
|
||||
class Interface : public Service::Interface {
|
||||
public:
|
||||
Interface();
|
||||
|
||||
/**
|
||||
* Gets the string port name used by CTROS for the service
|
||||
* @return Port name of service
|
||||
*/
|
||||
std::string GetPortName() const override {
|
||||
return "nim:aoc";
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace
|
Loading…
Reference in New Issue