From 8d85169ebfabf748c90a42d3984585af6534e10c Mon Sep 17 00:00:00 2001 From: SigmaVirus Date: Sun, 5 Feb 2017 21:17:56 +0100 Subject: [PATCH] Update cecd.cpp --- src/core/hle/service/cecd/cecd.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/core/hle/service/cecd/cecd.cpp b/src/core/hle/service/cecd/cecd.cpp index eb04273db..f9b0ebd12 100644 --- a/src/core/hle/service/cecd/cecd.cpp +++ b/src/core/hle/service/cecd/cecd.cpp @@ -42,6 +42,13 @@ void GetChangeStateEventHandle(Service::Interface* self) { 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() { AddService(new CECD_NDM);