summaryrefslogblamecommitdiffstats
path: root/src/core/hle/service/apt_a.cpp
blob: dcf5ec4fef3fc6c4d01984b93841fa29efe57de3 (plain) (tree)

































                                                                                                    
// 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