aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/cecd/cecd_ndm.cpp
blob: f393bd6559908cc97363253f5aeecb4a06555f2d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright 2016 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.

#include "common/archives.h"
#include "core/hle/service/cecd/cecd_ndm.h"

SERIALIZE_EXPORT_IMPL(Service::CECD::CECD_NDM)

namespace Service::CECD {

CECD_NDM::CECD_NDM(std::shared_ptr<Module> cecd)
    : Module::Interface(std::move(cecd), "cecd:ndm", DefaultMaxSessions) {
    static const FunctionInfo functions[] = {
        // clang-format off
        {0x0001, nullptr, "Initialize"},
        {0x0002, nullptr, "Deinitialize"},
        {0x0003, nullptr, "ResumeDaemon"},
        {0x0004, nullptr, "SuspendDaemon"},
        // clang-format on
    };

    RegisterHandlers(functions);
}

} // namespace Service::CECD