ns_s.cpp 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. // Copyright 2015 Citra Emulator Project
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #include "core/hle/hle.h"
  5. #include "core/hle/service/ns_s.h"
  6. ////////////////////////////////////////////////////////////////////////////////////////////////////
  7. // Namespace NS_S
  8. namespace NS_S {
  9. const Interface::FunctionInfo FunctionTable[] = {
  10. {0x000100C0, nullptr, "LaunchFIRM"},
  11. {0x000200C0, nullptr, "LaunchTitle"},
  12. {0x00030000, nullptr, "TerminateApplication"},
  13. {0x00040040, nullptr, "TerminateProcess"},
  14. {0x000500C0, nullptr, "LaunchApplicationFIRM"},
  15. {0x00060042, nullptr, "SetFIRMParams4A0"},
  16. {0x00070042, nullptr, "CardUpdateInitialize"},
  17. {0x00080000, nullptr, "CardUpdateShutdown"},
  18. {0x000D0140, nullptr, "SetTWLBannerHMAC"},
  19. {0x000E0000, nullptr, "ShutdownAsync"},
  20. {0x00100180, nullptr, "RebootSystem"},
  21. {0x00110100, nullptr, "TerminateTitle"},
  22. {0x001200C0, nullptr, "SetApplicationCpuTimeLimit"},
  23. {0x00150140, nullptr, "LaunchApplication"},
  24. {0x00160000, nullptr, "RebootSystemClean"},
  25. };
  26. ////////////////////////////////////////////////////////////////////////////////////////////////////
  27. // Interface class
  28. Interface::Interface() {
  29. Register(FunctionTable);
  30. }
  31. } // namespace