pctl.cpp 661 B

1234567891011121314151617181920
  1. // Copyright 2018 yuzu emulator team
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #include "core/hle/service/pctl/pctl.h"
  5. namespace Service::PCTL {
  6. PCTL::PCTL(Core::System& system_, std::shared_ptr<Module> module_, const char* name,
  7. Capability capability_)
  8. : Interface{system_, std::move(module_), name, capability_} {
  9. static const FunctionInfo functions[] = {
  10. {0, &PCTL::CreateService, "CreateService"},
  11. {1, &PCTL::CreateServiceWithoutInitialize, "CreateServiceWithoutInitialize"},
  12. };
  13. RegisterHandlers(functions);
  14. }
  15. PCTL::~PCTL() = default;
  16. } // namespace Service::PCTL