fatal_u.cpp 601 B

123456789101112131415161718
  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/fatal/fatal_u.h"
  5. namespace Service::Fatal {
  6. Fatal_U::Fatal_U(std::shared_ptr<Module> module) : Module::Interface(std::move(module), "fatal:u") {
  7. static const FunctionInfo functions[] = {
  8. {0, nullptr, "ThrowFatal"},
  9. {1, &Fatal_U::ThrowFatalWithPolicy, "ThrowFatalWithPolicy"},
  10. {2, &Fatal_U::ThrowFatalWithCpuContext, "ThrowFatalWithCpuContext"},
  11. };
  12. RegisterHandlers(functions);
  13. }
  14. } // namespace Service::Fatal