mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-26 23:30:09 +00:00
Kid_Icarus_Uprising
This commit is contained in:
parent
8f7ac1791c
commit
b57455646a
@ -46,6 +46,20 @@ void GetChangeStateEventHandle(Service::Interface* self) {
|
|||||||
LOG_WARNING(Service_CECD, "(STUBBED) called");
|
LOG_WARNING(Service_CECD, "(STUBBED) called");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void OpenAndWrite(Service::Interface* self) {
|
||||||
|
u32* cmd_buff = Kernel::GetCommandBuffer();
|
||||||
|
|
||||||
|
cmd_buff[1] = -1;
|
||||||
|
LOG_WARNING(Service_CECD, "(STUBBED) called");
|
||||||
|
}
|
||||||
|
|
||||||
|
void OpenAndRead(Service::Interface* self) {
|
||||||
|
u32* cmd_buff = Kernel::GetCommandBuffer();
|
||||||
|
|
||||||
|
cmd_buff[1] = -1;
|
||||||
|
LOG_WARNING(Service_CECD, "(STUBBED) called");
|
||||||
|
}
|
||||||
|
|
||||||
void Init() {
|
void Init() {
|
||||||
AddService(new CECD_NDM);
|
AddService(new CECD_NDM);
|
||||||
AddService(new CECD_S);
|
AddService(new CECD_S);
|
||||||
|
@ -50,6 +50,10 @@ void GetCecInfoEventHandle(Service::Interface* self);
|
|||||||
*/
|
*/
|
||||||
void GetChangeStateEventHandle(Service::Interface* self);
|
void GetChangeStateEventHandle(Service::Interface* self);
|
||||||
|
|
||||||
|
void OpenAndWrite(Service::Interface* self);
|
||||||
|
|
||||||
|
void OpenAndRead(Service::Interface* self);
|
||||||
|
|
||||||
/// Initialize CECD service(s)
|
/// Initialize CECD service(s)
|
||||||
void Init();
|
void Init();
|
||||||
|
|
||||||
|
@ -24,8 +24,8 @@ static const Interface::FunctionInfo FunctionTable[] = {
|
|||||||
{0x000E0000, GetCecStateAbbreviated, "GetCecStateAbbreviated"},
|
{0x000E0000, GetCecStateAbbreviated, "GetCecStateAbbreviated"},
|
||||||
{0x000F0000, GetCecInfoEventHandle, "GetCecInfoEventHandle"},
|
{0x000F0000, GetCecInfoEventHandle, "GetCecInfoEventHandle"},
|
||||||
{0x00100000, GetChangeStateEventHandle, "GetChangeStateEventHandle"},
|
{0x00100000, GetChangeStateEventHandle, "GetChangeStateEventHandle"},
|
||||||
{0x00110104, nullptr, "OpenAndWrite"},
|
{0x00110104, OpenAndWrite, "OpenAndWrite"},
|
||||||
{0x00120104, nullptr, "OpenAndRead"},
|
{0x00120104, OpenAndRead, "OpenAndRead"},
|
||||||
};
|
};
|
||||||
|
|
||||||
CECD_U::CECD_U() {
|
CECD_U::CECD_U() {
|
||||||
|
Loading…
Reference in New Issue
Block a user