summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am/am_net.cpp
blob: d9d9d78c8944ee2ada590daf7db150868b2b9793 (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
// Copyright 2014 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.

#include "core/hle/service/am/am_net.h"
#include "core/hle/service/am/am.h"

namespace Service {
namespace AM {

const Interface::FunctionInfo FunctionTable[] = {
    {0x00010040, GetTitleCount, "GetTitleCount"},
    {0x00020082, GetTitleList, "GetTitleList"},
    {0x00030084, GetTitleInfo, "GetTitleInfo"},
    {0x000400C0, nullptr, "DeleteApplicationTitle"},
    {0x000500C0, nullptr, "GetTitleProductCode"},
    {0x000600C0, nullptr, "GetTitleExtDataId"},
    {0x00070080, DeleteTicket, "DeleteTicket"},
    {0x00080000, GetTicketCount, "GetTicketCount"},
    {0x00090082, GetTicketList, "GetTicketList"},
    {0x000A0000, nullptr, "GetDeviceID"},
    {0x000D0084, nullptr, "GetPendingTitleInfo"},
    {0x000E00C0, nullptr, "DeletePendingTitle"},
    {0x00140040, nullptr, "FinalizePendingTitles"},
    {0x00150040, nullptr, "DeleteAllPendingTitles"},
    {0x00180080, nullptr, "InitializeTitleDatabase"},
    {0x00190040, nullptr, "ReloadDBS"},
    {0x001A00C0, nullptr, "GetDSiWareExportSize"},
    {0x001B0144, nullptr, "ExportDSiWare"},
    {0x001C0084, nullptr, "ImportDSiWare"},
    {0x00230080, nullptr, "TitleIDListGetTotal2"},
    {0x002400C2, nullptr, "GetTitleIDList2"},
    {0x04010080, nullptr, "InstallFIRM"},
    {0x04020040, nullptr, "StartInstallCIADB0"},
    {0x04030000, nullptr, "StartInstallCIADB1"},
    {0x04040002, nullptr, "AbortCIAInstall"},
    {0x04050002, nullptr, "CloseCIAFinalizeInstall"},
    {0x04060002, nullptr, "CloseCIA"},
    {0x040700C2, nullptr, "FinalizeTitlesInstall"},
    {0x04080042, nullptr, "GetCiaFileInfo"},
    {0x040E00C2, nullptr, "InstallTitlesFinish"},
    {0x040F0000, nullptr, "InstallNATIVEFIRM"},
    {0x041000C0, nullptr, "DeleteTitle"},
    {0x04120000, nullptr, "Initialize"},
    {0x041700C0, nullptr, "MigrateAGBtoSAV"},
    {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"},
    {0x08180042, nullptr, "GetCTCert"},
    {0x08190108, nullptr, "SetCertificates"},
    {0x081B00C2, nullptr, "InstallTitlesFinish"},
};

AM_NET_Interface::AM_NET_Interface() {
    Register(FunctionTable);
}

} // namespace AM
} // namespace Service