summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/cecd/cecd_s.cpp
blob: eacda7d41c57f714a61488a5a0a7ae7fb0516f42 (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
// Copyright 2015 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.

#include "core/hle/service/cecd/cecd.h"
#include "core/hle/service/cecd/cecd_s.h"

namespace Service {
namespace CECD {

static const Interface::FunctionInfo FunctionTable[] = {
    // cecd:u shared commands
    {0x000100C2, nullptr, "OpenRawFile"},
    {0x00020042, nullptr, "ReadRawFile"},
    {0x00030104, nullptr, "ReadMessage"},
    {0x00040106, nullptr, "ReadMessageWithHMAC"},
    {0x00050042, nullptr, "WriteRawFile"},
    {0x00060104, nullptr, "WriteMessage"},
    {0x00070106, nullptr, "WriteMessageWithHMAC"},
    {0x00080102, nullptr, "Delete"},
    {0x000A00C4, nullptr, "GetSystemInfo"},
    {0x000B0040, nullptr, "RunCommand"},
    {0x000C0040, nullptr, "RunCommandAlt"},
    {0x000E0000, GetCecStateAbbreviated, "GetCecStateAbbreviated"},
    {0x000F0000, GetCecInfoEventHandle, "GetCecInfoEventHandle"},
    {0x00100000, GetChangeStateEventHandle, "GetChangeStateEventHandle"},
    {0x00110104, nullptr, "OpenAndWrite"},
    {0x00120104, nullptr, "OpenAndRead"},
};

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

} // namespace CECD
} // namespace Service