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

#include "core/hle/service/gsp_lcd.h"

namespace Service {
namespace GSP {

const Interface::FunctionInfo FunctionTable[] = {
    // clang-format off
    {0x000A0080, nullptr, "SetBrightnessRaw"},
    {0x000B0080, nullptr, "SetBrightness"},
    {0x000F0000, nullptr, "PowerOnAllBacklights"},
    {0x00100000, nullptr, "PowerOffAllBacklights"},
    {0x00110040, nullptr, "PowerOnBacklight"},
    {0x00120040, nullptr, "PowerOffBacklight"},
    {0x00130040, nullptr, "SetLedForceOff"},
    {0x00140000, nullptr, "GetVendor"},
    {0x00150040, nullptr, "GetBrightness"},
    // clang-format on
};

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

} // namespace GSP
} // namespace Service