summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/fatal/fatal.h
diff options
context:
space:
mode:
authormailwl <mailwl@gmail.com>2018-03-20 14:55:20 +0100
committermailwl <mailwl@gmail.com>2018-03-20 14:59:02 +0100
commitdca7cfb9cfea5a798db45926b2f5399c1e233e99 (patch)
tree1ce233502d929b2146864f3dfa5389c869519ee4 /src/core/hle/service/fatal/fatal.h
parentMerge pull request #253 from Subv/rt_depth (diff)
downloadyuzu-dca7cfb9cfea5a798db45926b2f5399c1e233e99.tar
yuzu-dca7cfb9cfea5a798db45926b2f5399c1e233e99.tar.gz
yuzu-dca7cfb9cfea5a798db45926b2f5399c1e233e99.tar.bz2
yuzu-dca7cfb9cfea5a798db45926b2f5399c1e233e99.tar.lz
yuzu-dca7cfb9cfea5a798db45926b2f5399c1e233e99.tar.xz
yuzu-dca7cfb9cfea5a798db45926b2f5399c1e233e99.tar.zst
yuzu-dca7cfb9cfea5a798db45926b2f5399c1e233e99.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/fatal/fatal.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/core/hle/service/fatal/fatal.h b/src/core/hle/service/fatal/fatal.h
new file mode 100644
index 000000000..85272b4be
--- /dev/null
+++ b/src/core/hle/service/fatal/fatal.h
@@ -0,0 +1,29 @@
+// Copyright 2018 yuzu emulator team
+// Licensed under GPLv2 or any later version
+// Refer to the license.txt file included.
+
+#pragma once
+
+#include "core/hle/service/service.h"
+
+namespace Service {
+namespace Fatal {
+
+class Module final {
+public:
+ class Interface : public ServiceFramework<Interface> {
+ public:
+ Interface(std::shared_ptr<Module> module, const char* name);
+
+ void FatalSimple(Kernel::HLERequestContext& ctx);
+ void TransitionToFatalError(Kernel::HLERequestContext& ctx);
+
+ protected:
+ std::shared_ptr<Module> module;
+ };
+};
+
+void InstallInterfaces(SM::ServiceManager& service_manager);
+
+} // namespace Fatal
+} // namespace Service