summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am_net.cpp
blob: 943205e9ed06836cbaad0fb39ef967ad9b341196 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
// 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/am_net.h"

////////////////////////////////////////////////////////////////////////////////////////////////////
// Namespace AM_NET

namespace AM_NET {

const Interface::FunctionInfo FunctionTable[] = {
    {0x08010000, nullptr,               "OpenTicket"},
    {0x08020002, nullptr,               "TicketAbortInstall"},
    {0x08030002, nullptr,               "TicketFinalizeInstall"},
    {0x08040100, nullptr,               "InstallTitleBegin"},
    {0x08050000, nullptr,               "InstallTitleAbort"},
    {0x080600C0, nullptr,               "InstallTitleResume"},
    {0x08070000, nullptr,               "InstallTitleAbortTMD"},
    {0x08080000, nullptr,               "InstallTitleFinish"},
    {0x080A0000, nullptr,               "OpenTMD"},
    {0x080B0002, nullptr,               "TMDAbortInstall"},
    {0x080C0042, nullptr,               "TMDFinalizeInstall"},
    {0x080E0040, nullptr,               "OpenContentCreate"},
    {0x080F0002, nullptr,               "ContentAbortInstall"},
    {0x08100040, nullptr,               "OpenContentResume"},
    {0x08120002, nullptr,               "ContentFinalizeInstall"},
    {0x08130000, nullptr,               "GetTotalContents"},
    {0x08140042, nullptr,               "GetContentIndexes"},
    {0x08150044, nullptr,               "GetContentsInfo"},
    {0x08190108, nullptr,               "Unknown"},
    {0x081B00C2, nullptr,               "InstallTitlesFinish"},
};

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

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

Interface::~Interface() {
}

} // namespace