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