Skip to content
Snippets Groups Projects
Commit 22bc951d authored by David Marcec's avatar David Marcec
Browse files

Dont call UNIMPLEMENTED for 'empty services', just return error code

parent 35517ca9
No related branches found
No related tags found
No related merge requests found
...@@ -103,6 +103,8 @@ void SM::GetService(Kernel::HLERequestContext& ctx) { ...@@ -103,6 +103,8 @@ void SM::GetService(Kernel::HLERequestContext& ctx) {
rb.Push(client_port.Code()); rb.Push(client_port.Code());
LOG_ERROR(Service_SM, "called service=%s -> error 0x%08X", name.c_str(), LOG_ERROR(Service_SM, "called service=%s -> error 0x%08X", name.c_str(),
client_port.Code().raw); client_port.Code().raw);
if (name.length() == 0)
return; // LibNX Fix
UNIMPLEMENTED(); UNIMPLEMENTED();
return; return;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment