mirror of https://git.suyu.dev/suyu/suyu
Merge pull request #2320 from mailwl/cecd-update
Service/CECD: Add cecd:ndm servicemerge-requests/60/head
commit
63e8174caa
@ -0,0 +1,23 @@
|
||||
// Copyright 2016 Citra Emulator Project
|
||||
// Licensed under GPLv2 or any later version
|
||||
// Refer to the license.txt file included.
|
||||
|
||||
#include "core/hle/service/cecd/cecd.h"
|
||||
#include "core/hle/service/cecd/cecd_ndm.h"
|
||||
|
||||
namespace Service {
|
||||
namespace CECD {
|
||||
|
||||
static const Interface::FunctionInfo FunctionTable[] = {
|
||||
{0x00010000, nullptr, "Initialize"},
|
||||
{0x00020000, nullptr, "Deinitialize"},
|
||||
{0x00030000, nullptr, "ResumeDaemon"},
|
||||
{0x00040040, nullptr, "SuspendDaemon"},
|
||||
};
|
||||
|
||||
CECD_NDM::CECD_NDM() {
|
||||
Register(FunctionTable);
|
||||
}
|
||||
|
||||
} // namespace CECD
|
||||
} // namespace Service
|
@ -0,0 +1,22 @@
|
||||
// Copyright 2016 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 CECD {
|
||||
|
||||
class CECD_NDM : public Interface {
|
||||
public:
|
||||
CECD_NDM();
|
||||
|
||||
std::string GetPortName() const override {
|
||||
return "cecd:ndm";
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace CECD
|
||||
} // namespace Service
|
Loading…
Reference in New Issue