dlp_srvr.cpp 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. // Copyright 2016 Citra Emulator Project
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #include "common/common_types.h"
  5. #include "common/logging/log.h"
  6. #include "core/hle/result.h"
  7. #include "core/hle/service/dlp/dlp_srvr.h"
  8. namespace Service {
  9. namespace DLP {
  10. static void unk_0x000E0040(Interface* self) {
  11. u32* cmd_buff = Kernel::GetCommandBuffer();
  12. cmd_buff[1] = RESULT_SUCCESS.raw;
  13. cmd_buff[2] = 0;
  14. LOG_WARNING(Service_DLP, "(STUBBED) called");
  15. }
  16. const Interface::FunctionInfo FunctionTable[] = {
  17. {0x00010183, nullptr, "Initialize"},
  18. {0x00020000, nullptr, "Finalize"},
  19. {0x00030000, nullptr, "GetServerState"},
  20. {0x00050080, nullptr, "StartAccepting"},
  21. {0x00070000, nullptr, "StartDistribution"},
  22. {0x000800C0, nullptr, "SendWirelessRebootPassphrase"},
  23. {0x00090040, nullptr, "AcceptClient"},
  24. {0x000B0042, nullptr, "GetConnectingClients"},
  25. {0x000C0040, nullptr, "GetClientInfo"},
  26. {0x000D0040, nullptr, "GetClientState"},
  27. {0x000E0040, unk_0x000E0040, "unk_0x000E0040"},
  28. };
  29. DLP_SRVR_Interface::DLP_SRVR_Interface() {
  30. Register(FunctionTable);
  31. }
  32. } // namespace DLP
  33. } // namespace Service