summaryrefslogtreecommitdiff
path: root/src/core/hle/service/fatal
diff options
context:
space:
mode:
authorGravatar Liam2023-02-19 14:42:12 -0500
committerGravatar Liam2023-03-01 10:39:49 -0500
commit65be230fdda302b25447f2f09b06e3238bd09e79 (patch)
tree68250d7bc8151041b236dcd79483df98938952cd /src/core/hle/service/fatal
parentsm:: remove unused member (diff)
downloadyuzu-65be230fdda302b25447f2f09b06e3238bd09e79.tar.gz
yuzu-65be230fdda302b25447f2f09b06e3238bd09e79.tar.xz
yuzu-65be230fdda302b25447f2f09b06e3238bd09e79.zip
service: move hle_ipc from kernel
Diffstat (limited to 'src/core/hle/service/fatal')
-rw-r--r--src/core/hle/service/fatal/fatal.cpp8
-rw-r--r--src/core/hle/service/fatal/fatal.h6
2 files changed, 7 insertions, 7 deletions
diff --git a/src/core/hle/service/fatal/fatal.cpp b/src/core/hle/service/fatal/fatal.cpp
index 3b7b636f3..fe2ed8df8 100644
--- a/src/core/hle/service/fatal/fatal.cpp
+++ b/src/core/hle/service/fatal/fatal.cpp
@@ -9,10 +9,10 @@
9#include "common/scm_rev.h" 9#include "common/scm_rev.h"
10#include "common/swap.h" 10#include "common/swap.h"
11#include "core/core.h" 11#include "core/core.h"
12#include "core/hle/ipc_helpers.h"
13#include "core/hle/service/fatal/fatal.h" 12#include "core/hle/service/fatal/fatal.h"
14#include "core/hle/service/fatal/fatal_p.h" 13#include "core/hle/service/fatal/fatal_p.h"
15#include "core/hle/service/fatal/fatal_u.h" 14#include "core/hle/service/fatal/fatal_u.h"
15#include "core/hle/service/ipc_helpers.h"
16#include "core/hle/service/server_manager.h" 16#include "core/hle/service/server_manager.h"
17#include "core/reporter.h" 17#include "core/reporter.h"
18 18
@@ -126,7 +126,7 @@ static void ThrowFatalError(Core::System& system, Result error_code, FatalType f
126 } 126 }
127} 127}
128 128
129void Module::Interface::ThrowFatal(Kernel::HLERequestContext& ctx) { 129void Module::Interface::ThrowFatal(HLERequestContext& ctx) {
130 LOG_ERROR(Service_Fatal, "called"); 130 LOG_ERROR(Service_Fatal, "called");
131 IPC::RequestParser rp{ctx}; 131 IPC::RequestParser rp{ctx};
132 const auto error_code = rp.Pop<Result>(); 132 const auto error_code = rp.Pop<Result>();
@@ -136,7 +136,7 @@ void Module::Interface::ThrowFatal(Kernel::HLERequestContext& ctx) {
136 rb.Push(ResultSuccess); 136 rb.Push(ResultSuccess);
137} 137}
138 138
139void Module::Interface::ThrowFatalWithPolicy(Kernel::HLERequestContext& ctx) { 139void Module::Interface::ThrowFatalWithPolicy(HLERequestContext& ctx) {
140 LOG_ERROR(Service_Fatal, "called"); 140 LOG_ERROR(Service_Fatal, "called");
141 IPC::RequestParser rp(ctx); 141 IPC::RequestParser rp(ctx);
142 const auto error_code = rp.Pop<Result>(); 142 const auto error_code = rp.Pop<Result>();
@@ -148,7 +148,7 @@ void Module::Interface::ThrowFatalWithPolicy(Kernel::HLERequestContext& ctx) {
148 rb.Push(ResultSuccess); 148 rb.Push(ResultSuccess);
149} 149}
150 150
151void Module::Interface::ThrowFatalWithCpuContext(Kernel::HLERequestContext& ctx) { 151void Module::Interface::ThrowFatalWithCpuContext(HLERequestContext& ctx) {
152 LOG_ERROR(Service_Fatal, "called"); 152 LOG_ERROR(Service_Fatal, "called");
153 IPC::RequestParser rp(ctx); 153 IPC::RequestParser rp(ctx);
154 const auto error_code = rp.Pop<Result>(); 154 const auto error_code = rp.Pop<Result>();
diff --git a/src/core/hle/service/fatal/fatal.h b/src/core/hle/service/fatal/fatal.h
index 2e4e4c2f6..f1c110406 100644
--- a/src/core/hle/service/fatal/fatal.h
+++ b/src/core/hle/service/fatal/fatal.h
@@ -19,9 +19,9 @@ public:
19 const char* name); 19 const char* name);
20 ~Interface() override; 20 ~Interface() override;
21 21
22 void ThrowFatal(Kernel::HLERequestContext& ctx); 22 void ThrowFatal(HLERequestContext& ctx);
23 void ThrowFatalWithPolicy(Kernel::HLERequestContext& ctx); 23 void ThrowFatalWithPolicy(HLERequestContext& ctx);
24 void ThrowFatalWithCpuContext(Kernel::HLERequestContext& ctx); 24 void ThrowFatalWithCpuContext(HLERequestContext& ctx);
25 25
26 protected: 26 protected:
27 std::shared_ptr<Module> module; 27 std::shared_ptr<Module> module;