summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/apt_a.cpp
blob: dcf5ec4fef3fc6c4d01984b93841fa29efe57de3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Copyright 2014 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.

#include "common/log.h"
#include "core/hle/hle.h"
#include "core/hle/service/apt_a.h"

////////////////////////////////////////////////////////////////////////////////////////////////////
// Namespace APT_A

namespace APT_A {

const Interface::FunctionInfo FunctionTable[] = {
    {0x00010040, nullptr,               "GetLockHandle?"},
    {0x00020080, nullptr,               "Initialize?"},
    {0x00030040, nullptr,               "Enable?"},
    {0x00040040, nullptr,               "Finalize?"},
    {0x00050040, nullptr,               "GetAppletManInfo?"},
    {0x00060040, nullptr,               "GetAppletInfo?"},
    {0x003B0040, nullptr,               "CancelLibraryApplet?"},
    {0x00430040, nullptr,               "NotifyToWait?"},
    {0x004B00C2, nullptr,               "AppletUtility?"},
    {0x00550040, nullptr,               "WriteInputToNsState?"},
};

////////////////////////////////////////////////////////////////////////////////////////////////////
// Interface class

Interface::Interface() {
    Register(FunctionTable, ARRAY_SIZE(FunctionTable));
}

} // namespace