/ src / core / hle / service / cecd / cecd_ndm.cpp
cecd_ndm.cpp
 1  // Copyright 2016 Citra Emulator Project
 2  // Licensed under GPLv2 or any later version
 3  // Refer to the license.txt file included.
 4  
 5  #include "common/archives.h"
 6  #include "core/hle/service/cecd/cecd_ndm.h"
 7  
 8  SERIALIZE_EXPORT_IMPL(Service::CECD::CECD_NDM)
 9  
10  namespace Service::CECD {
11  
12  CECD_NDM::CECD_NDM(std::shared_ptr<Module> cecd)
13      : Module::Interface(std::move(cecd), "cecd:ndm", DefaultMaxSessions) {
14      static const FunctionInfo functions[] = {
15          // clang-format off
16          {0x0001, nullptr, "Initialize"},
17          {0x0002, nullptr, "Deinitialize"},
18          {0x0003, nullptr, "ResumeDaemon"},
19          {0x0004, nullptr, "SuspendDaemon"},
20          // clang-format on
21      };
22  
23      RegisterHandlers(functions);
24  }
25  
26  } // namespace Service::CECD