mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-11-05 06:47:53 +00:00
65d94857c3
Updated based off information from 3dbrew.
33 lines
1 KiB
C++
33 lines
1 KiB
C++
// 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 {
|
|
|
|
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
|
|
};
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
// Interface class
|
|
|
|
Interface::Interface() {
|
|
Register(FunctionTable);
|
|
}
|
|
|
|
} // namespace
|