From dca7cfb9cfea5a798db45926b2f5399c1e233e99 Mon Sep 17 00:00:00 2001 From: mailwl Date: Tue, 20 Mar 2018 16:55:20 +0300 Subject: Service: add fatal:u, fatal:p services --- src/core/hle/service/fatal/fatal_u.cpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/core/hle/service/fatal/fatal_u.cpp (limited to 'src/core/hle/service/fatal/fatal_u.cpp') diff --git a/src/core/hle/service/fatal/fatal_u.cpp b/src/core/hle/service/fatal/fatal_u.cpp new file mode 100644 index 000000000..065cc868d --- /dev/null +++ b/src/core/hle/service/fatal/fatal_u.cpp @@ -0,0 +1,19 @@ +// Copyright 2018 yuzu emulator team +// Licensed under GPLv2 or any later version +// Refer to the license.txt file included. + +#include "core/hle/service/fatal/fatal_u.h" + +namespace Service { +namespace Fatal { + +Fatal_U::Fatal_U(std::shared_ptr module) : Module::Interface(std::move(module), "fatal:u") { + static const FunctionInfo functions[] = { + {1, &Fatal_U::FatalSimple, "FatalSimple"}, + {2, &Fatal_U::TransitionToFatalError, "TransitionToFatalError"}, + }; + RegisterHandlers(functions); +} + +} // namespace Fatal +} // namespace Service -- cgit v1.2.3