diff options
author | bunnei <bunneidev@gmail.com> | 2018-03-20 16:12:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-20 16:12:39 +0100 |
commit | 8c8de2efe995363eacaaaf3c4d916808194f69e9 (patch) | |
tree | 1ce233502d929b2146864f3dfa5389c869519ee4 /src/core/hle/service/fatal/fatal.h | |
parent | Merge pull request #253 from Subv/rt_depth (diff) | |
parent | Service: add fatal:u, fatal:p services (diff) | |
download | yuzu-8c8de2efe995363eacaaaf3c4d916808194f69e9.tar yuzu-8c8de2efe995363eacaaaf3c4d916808194f69e9.tar.gz yuzu-8c8de2efe995363eacaaaf3c4d916808194f69e9.tar.bz2 yuzu-8c8de2efe995363eacaaaf3c4d916808194f69e9.tar.lz yuzu-8c8de2efe995363eacaaaf3c4d916808194f69e9.tar.xz yuzu-8c8de2efe995363eacaaaf3c4d916808194f69e9.tar.zst yuzu-8c8de2efe995363eacaaaf3c4d916808194f69e9.zip |
Diffstat (limited to 'src/core/hle/service/fatal/fatal.h')
-rw-r--r-- | src/core/hle/service/fatal/fatal.h | 29 |
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 |