summaryrefslogtreecommitdiff
path: root/src/core/hle/service/fatal
diff options
context:
space:
mode:
authorGravatar greggameplayer2018-05-18 23:28:30 +0200
committerGravatar GitHub2018-05-18 23:28:30 +0200
commite35cfc1b039abedd3ded7de66da8361c39e75c28 (patch)
treebc810f2016c761d93f5ca055486bdb1d09fbfafa /src/core/hle/service/fatal
parentMerge pull request #436 from bunnei/multi-core (diff)
downloadyuzu-e35cfc1b039abedd3ded7de66da8361c39e75c28.tar.gz
yuzu-e35cfc1b039abedd3ded7de66da8361c39e75c28.tar.xz
yuzu-e35cfc1b039abedd3ded7de66da8361c39e75c28.zip
Properly rename fatal module functions
Diffstat (limited to 'src/core/hle/service/fatal')
-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 {
13Module::Interface::Interface(std::shared_ptr<Module> module, const char* name) 13Module::Interface::Interface(std::shared_ptr<Module> module, const char* name)
14 : ServiceFramework(name), module(std::move(module)) {} 14 : ServiceFramework(name), module(std::move(module)) {}
15 15
16void Module::Interface::FatalSimple(Kernel::HLERequestContext& ctx) { 16void Module::Interface::ThrowFatalWithPolicy(Kernel::HLERequestContext& ctx) {
17 IPC::RequestParser rp(ctx); 17 IPC::RequestParser rp(ctx);
18 u32 error_code = rp.Pop<u32>(); 18 u32 error_code = rp.Pop<u32>();
19 NGLOG_WARNING(Service_Fatal, "(STUBBED) called, error_code=0x{:X}", error_code); 19 NGLOG_WARNING(Service_Fatal, "(STUBBED) called, error_code=0x{:X}", error_code);
@@ -21,7 +21,7 @@ void Module::Interface::FatalSimple(Kernel::HLERequestContext& ctx) {
21 rb.Push(RESULT_SUCCESS); 21 rb.Push(RESULT_SUCCESS);
22} 22}
23 23
24void Module::Interface::TransitionToFatalError(Kernel::HLERequestContext& ctx) { 24void Module::Interface::ThrowFatalWithCpuContext(Kernel::HLERequestContext& ctx) {
25 NGLOG_WARNING(Service_Fatal, "(STUBBED) called"); 25 NGLOG_WARNING(Service_Fatal, "(STUBBED) called");
26 IPC::ResponseBuilder rb{ctx, 2}; 26 IPC::ResponseBuilder rb{ctx, 2};
27 rb.Push(RESULT_SUCCESS); 27 rb.Push(RESULT_SUCCESS);