summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/fatal/fatal.h
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2019-09-21 10:43:03 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2019-09-22 08:30:25 +0200
commita40e5b2def2502f3bc8c159959b4ac1e262b4188 (patch)
tree7c11ba7894e598d948da5edf624d3a1eed13d7f1 /src/core/hle/service/fatal/fatal.h
parentDeglobalize System: Btm (diff)
downloadyuzu-a40e5b2def2502f3bc8c159959b4ac1e262b4188.tar
yuzu-a40e5b2def2502f3bc8c159959b4ac1e262b4188.tar.gz
yuzu-a40e5b2def2502f3bc8c159959b4ac1e262b4188.tar.bz2
yuzu-a40e5b2def2502f3bc8c159959b4ac1e262b4188.tar.lz
yuzu-a40e5b2def2502f3bc8c159959b4ac1e262b4188.tar.xz
yuzu-a40e5b2def2502f3bc8c159959b4ac1e262b4188.tar.zst
yuzu-a40e5b2def2502f3bc8c159959b4ac1e262b4188.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/fatal/fatal.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/core/hle/service/fatal/fatal.h b/src/core/hle/service/fatal/fatal.h
index 09371ff7f..bd9339dfc 100644
--- a/src/core/hle/service/fatal/fatal.h
+++ b/src/core/hle/service/fatal/fatal.h
@@ -6,13 +6,17 @@
#include "core/hle/service/service.h"
+namespace Core {
+class System;
+}
+
namespace Service::Fatal {
class Module final {
public:
class Interface : public ServiceFramework<Interface> {
public:
- explicit Interface(std::shared_ptr<Module> module, const char* name);
+ explicit Interface(std::shared_ptr<Module> module, Core::System& system, const char* name);
~Interface() override;
void ThrowFatal(Kernel::HLERequestContext& ctx);
@@ -21,9 +25,10 @@ public:
protected:
std::shared_ptr<Module> module;
+ Core::System& system;
};
};
-void InstallInterfaces(SM::ServiceManager& service_manager);
+void InstallInterfaces(SM::ServiceManager& service_manager, Core::System& system);
} // namespace Service::Fatal