service/gsp: Move service/gsp_lcd.* into service/gsp/ folder

This commit is contained in:
NarcolepticK 2018-06-27 03:44:09 -04:00
parent 5e641d16d0
commit c43f1ed088
4 changed files with 4 additions and 4 deletions

View file

@ -0,0 +1,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/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

View file

@ -0,0 +1,22 @@
// Copyright 2015 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#pragma once
#include "core/hle/service/service.h"
namespace Service {
namespace GSP {
class GSP_LCD final : public Interface {
public:
GSP_LCD();
std::string GetPortName() const override {
return "gsp::Lcd";
}
};
} // namespace GSP
} // namespace Service