summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar David Marcec2018-02-05 02:03:22 -0800
committerGravatar David Marcec2018-02-05 02:03:22 -0800
commit22bc951d7e3f6834058d3486e7eb4c1404121967 (patch)
tree99a1a5a9ff6ce2715054319ec30c22b6c7e6785a /src
parentMerge pull request #161 from bunnei/service-improvements (diff)
downloadyuzu-22bc951d7e3f6834058d3486e7eb4c1404121967.tar.gz
yuzu-22bc951d7e3f6834058d3486e7eb4c1404121967.tar.xz
yuzu-22bc951d7e3f6834058d3486e7eb4c1404121967.zip
Dont call UNIMPLEMENTED for 'empty services', just return error code
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/sm/sm.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/service/sm/sm.cpp b/src/core/hle/service/sm/sm.cpp
index 73aa013e3..bc72512a0 100644
--- a/src/core/hle/service/sm/sm.cpp
+++ b/src/core/hle/service/sm/sm.cpp
@@ -103,6 +103,8 @@ void SM::GetService(Kernel::HLERequestContext& ctx) {
103 rb.Push(client_port.Code()); 103 rb.Push(client_port.Code());
104 LOG_ERROR(Service_SM, "called service=%s -> error 0x%08X", name.c_str(), 104 LOG_ERROR(Service_SM, "called service=%s -> error 0x%08X", name.c_str(),
105 client_port.Code().raw); 105 client_port.Code().raw);
106 if (name.length() == 0)
107 return; // LibNX Fix
106 UNIMPLEMENTED(); 108 UNIMPLEMENTED();
107 return; 109 return;
108 } 110 }