aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/fatal/fatal.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-05-20 23:42:57 -0400
committerGitHub <noreply@github.com>2018-05-20 23:42:57 -0400
commitff54287a734a70a0e1148b720023708b52a328e0 (patch)
tree8b6664e989366754bab7da922b21652d1a6bafe2 /src/core/hle/service/fatal/fatal.cpp
parent882111c4f2a8ba25220e9b486abe5a24c2371c2e (diff)
parentabe79b27241e73cf9531301fa4c88106ed042a80 (diff)
Merge pull request #445 from greggameplayer/patch-2
Properly rename functions of Fatal Module & add ThrowFatal to this module
Diffstat (limited to 'src/core/hle/service/fatal/fatal.cpp')
-rw-r--r--src/core/hle/service/fatal/fatal.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/fatal/fatal.cpp b/src/core/hle/service/fatal/fatal.cpp
index bb75e7314..2d4282209 100644
--- a/src/core/hle/service/fatal/fatal.cpp
+++ b/src/core/hle/service/fatal/fatal.cpp
@@ -13,7 +13,7 @@ namespace Service::Fatal {
Module::Interface::Interface(std::shared_ptr<Module> module, const char* name)
: ServiceFramework(name), module(std::move(module)) {}
-void Module::Interface::FatalSimple(Kernel::HLERequestContext& ctx) {
+void Module::Interface::ThrowFatalWithPolicy(Kernel::HLERequestContext& ctx) {
IPC::RequestParser rp(ctx);
u32 error_code = rp.Pop<u32>();
NGLOG_WARNING(Service_Fatal, "(STUBBED) called, error_code=0x{:X}", error_code);
@@ -21,7 +21,7 @@ void Module::Interface::FatalSimple(Kernel::HLERequestContext& ctx) {
rb.Push(RESULT_SUCCESS);
}
-void Module::Interface::TransitionToFatalError(Kernel::HLERequestContext& ctx) {
+void Module::Interface::ThrowFatalWithCpuContext(Kernel::HLERequestContext& ctx) {
NGLOG_WARNING(Service_Fatal, "(STUBBED) called");
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(RESULT_SUCCESS);