|
|
@ -2,26 +2,39 @@
|
|
|
|
// 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/ir/ir.h"
|
|
|
|
#include "core/hle/service/ir/ir_user.h"
|
|
|
|
#include "core/hle/service/ir/ir_user.h"
|
|
|
|
|
|
|
|
|
|
|
|
namespace Service {
|
|
|
|
namespace Service {
|
|
|
|
namespace IR {
|
|
|
|
namespace IR {
|
|
|
|
|
|
|
|
|
|
|
|
const Interface::FunctionInfo FunctionTable[] = {
|
|
|
|
const Interface::FunctionInfo FunctionTable[] = {
|
|
|
|
{0x00010182, nullptr, "InitializeIrNop"},
|
|
|
|
{0x00010182, nullptr, "InitializeIrNop"},
|
|
|
|
{0x00020000, nullptr, "FinalizeIrNop"},
|
|
|
|
{0x00020000, FinalizeIrNop, "FinalizeIrNop"},
|
|
|
|
{0x00030000, nullptr, "ClearReceiveBuffer"},
|
|
|
|
{0x00030000, nullptr, "ClearReceiveBuffer"},
|
|
|
|
{0x00040000, nullptr, "ClearSendBuffer"},
|
|
|
|
{0x00040000, nullptr, "ClearSendBuffer"},
|
|
|
|
{0x00060040, nullptr, "RequireConnection"},
|
|
|
|
{0x000500C0, nullptr, "WaitConnection"},
|
|
|
|
{0x00090000, nullptr, "Disconnect"},
|
|
|
|
{0x00060040, RequireConnection, "RequireConnection"},
|
|
|
|
{0x000A0000, nullptr, "GetReceiveEvent"},
|
|
|
|
{0x000702C0, nullptr, "AutoConnection"},
|
|
|
|
{0x000B0000, nullptr, "GetSendEvent"},
|
|
|
|
{0x00080000, nullptr, "AnyConnection"},
|
|
|
|
{0x000C0000, nullptr, "GetConnectionStatusEvent"},
|
|
|
|
{0x00090000, Disconnect, "Disconnect"},
|
|
|
|
{0x000D0042, nullptr, "SendIrNop"},
|
|
|
|
{0x000A0000, nullptr, "GetReceiveEvent"},
|
|
|
|
{0x000E0042, nullptr, "SendIrNopLarge"},
|
|
|
|
{0x000B0000, nullptr, "GetSendEvent"},
|
|
|
|
{0x00180182, nullptr, "InitializeIrNopShared"},
|
|
|
|
{0x000C0000, GetConnectionStatusEvent, "GetConnectionStatusEvent"},
|
|
|
|
{0x00190040, nullptr, "ReleaseReceivedData"},
|
|
|
|
{0x000D0042, nullptr, "SendIrNop"},
|
|
|
|
{0x001A0040, nullptr, "SetOwnMachineId"},
|
|
|
|
{0x000E0042, nullptr, "SendIrNopLarge"},
|
|
|
|
|
|
|
|
{0x000F0040, nullptr, "ReceiveIrnop"},
|
|
|
|
|
|
|
|
{0x00100042, nullptr, "ReceiveIrnopLarge"},
|
|
|
|
|
|
|
|
{0x00110040, nullptr, "GetLatestReceiveErrorResult"},
|
|
|
|
|
|
|
|
{0x00120040, nullptr, "GetLatestSendErrorResult"},
|
|
|
|
|
|
|
|
{0x00130000, nullptr, "GetConnectionStatus"},
|
|
|
|
|
|
|
|
{0x00140000, nullptr, "GetTryingToConnectStatus"},
|
|
|
|
|
|
|
|
{0x00150000, nullptr, "GetReceiveSizeFreeAndUsed"},
|
|
|
|
|
|
|
|
{0x00160000, nullptr, "GetSendSizeFreeAndUsed"},
|
|
|
|
|
|
|
|
{0x00170000, nullptr, "GetConnectionRole"},
|
|
|
|
|
|
|
|
{0x00180182, InitializeIrNopShared, "InitializeIrNopShared"},
|
|
|
|
|
|
|
|
{0x00190040, nullptr, "ReleaseReceivedData"},
|
|
|
|
|
|
|
|
{0x001A0040, nullptr, "SetOwnMachineId"},
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
IR_User_Interface::IR_User_Interface() {
|
|
|
|
IR_User_Interface::IR_User_Interface() {
|
|
|
|