summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-02-05 23:01:46 +0100
committerGitHub <noreply@github.com>2018-02-05 23:01:46 +0100
commit294b2b2c17974327e6dca819af3baae840204e95 (patch)
tree94a7eb9280658c36fde3122bc04858964ba191f3 /src
parentMerge pull request #163 from ogniK5377/istorage_to_romfs (diff)
parentDont call UNIMPLEMENTED for 'empty services', just return error code (diff)
downloadyuzu-294b2b2c17974327e6dca819af3baae840204e95.tar
yuzu-294b2b2c17974327e6dca819af3baae840204e95.tar.gz
yuzu-294b2b2c17974327e6dca819af3baae840204e95.tar.bz2
yuzu-294b2b2c17974327e6dca819af3baae840204e95.tar.lz
yuzu-294b2b2c17974327e6dca819af3baae840204e95.tar.xz
yuzu-294b2b2c17974327e6dca819af3baae840204e95.tar.zst
yuzu-294b2b2c17974327e6dca819af3baae840204e95.zip
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) {
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;
}