diff options
| author | mailwl <mailwl@gmail.com> | 2018-03-20 16:55:20 +0300 |
|---|---|---|
| committer | mailwl <mailwl@gmail.com> | 2018-03-20 16:59:02 +0300 |
| commit | dca7cfb9cfea5a798db45926b2f5399c1e233e99 (patch) | |
| tree | 1ce233502d929b2146864f3dfa5389c869519ee4 /src/core/hle/service/fatal/fatal.h | |
| parent | f4700ccabff57955a43c8eb0df85c0c02b1b9724 (diff) | |
Service: add fatal:u, fatal:p services
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 |
