2015-01-14 04:56:00 +00:00
|
|
|
// 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"
|
|
|
|
|
2016-12-10 12:51:50 +00:00
|
|
|
namespace Service {
|
|
|
|
namespace GSP {
|
2015-01-14 04:56:00 +00:00
|
|
|
|
2016-09-19 01:01:46 +00:00
|
|
|
const Interface::FunctionInfo FunctionTable[] = {
|
|
|
|
// clang-format off
|
2016-12-08 04:26:25 +00:00
|
|
|
{0x000A0080, nullptr, "SetBrightnessRaw"},
|
|
|
|
{0x000B0080, nullptr, "SetBrightness"},
|
2016-09-19 01:01:46 +00:00
|
|
|
{0x000F0000, nullptr, "PowerOnAllBacklights"},
|
|
|
|
{0x00100000, nullptr, "PowerOffAllBacklights"},
|
|
|
|
{0x00110040, nullptr, "PowerOnBacklight"},
|
|
|
|
{0x00120040, nullptr, "PowerOffBacklight"},
|
|
|
|
{0x00130040, nullptr, "SetLedForceOff"},
|
2016-12-08 04:26:25 +00:00
|
|
|
{0x00140000, nullptr, "GetVendor"},
|
|
|
|
{0x00150040, nullptr, "GetBrightness"},
|
2016-09-19 01:01:46 +00:00
|
|
|
// clang-format on
|
|
|
|
};
|
2015-01-14 04:56:00 +00:00
|
|
|
|
2016-12-10 12:51:50 +00:00
|
|
|
GSP_LCD::GSP_LCD() {
|
2015-12-30 14:30:57 +00:00
|
|
|
Register(FunctionTable);
|
2015-01-14 04:56:00 +00:00
|
|
|
}
|
|
|
|
|
2016-12-10 12:51:50 +00:00
|
|
|
} // namespace GSP
|
|
|
|
} // namespace Service
|