service/gsp: Move service/gsp_lcd.* into service/gsp/ folder
This commit is contained in:
parent
5e641d16d0
commit
c43f1ed088
4 changed files with 4 additions and 4 deletions
29
src/core/hle/service/gsp/gsp_lcd.cpp
Normal file
29
src/core/hle/service/gsp/gsp_lcd.cpp
Normal 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
|
22
src/core/hle/service/gsp/gsp_lcd.h
Normal file
22
src/core/hle/service/gsp/gsp_lcd.h
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue