summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2018-02-05 11:03:22 +0100
committerDavid Marcec <dmarcecguzman@gmail.com>2018-02-05 11:03:22 +0100
commit22bc951d7e3f6834058d3486e7eb4c1404121967 (patch)
tree99a1a5a9ff6ce2715054319ec30c22b6c7e6785a
parentMerge pull request #161 from bunnei/service-improvements (diff)
downloadyuzu-22bc951d7e3f6834058d3486e7eb4c1404121967.tar
yuzu-22bc951d7e3f6834058d3486e7eb4c1404121967.tar.gz
yuzu-22bc951d7e3f6834058d3486e7eb4c1404121967.tar.bz2
yuzu-22bc951d7e3f6834058d3486e7eb4c1404121967.tar.lz
yuzu-22bc951d7e3f6834058d3486e7eb4c1404121967.tar.xz
yuzu-22bc951d7e3f6834058d3486e7eb4c1404121967.tar.zst
yuzu-22bc951d7e3f6834058d3486e7eb4c1404121967.zip
-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) {
rb.Push(client_port.Code());
LOG_ERROR(Service_SM, "called service=%s -> error 0x%08X", name.c_str(),
client_port.Code().raw);
+ if (name.length() == 0)
+ return; // LibNX Fix
UNIMPLEMENTED();
return;
}