mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-12-27 20:25:50 +00:00
Dont call UNIMPLEMENTED for 'empty services', just return error code
This commit is contained in:
parent
35517ca92c
commit
22bc951d7e
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue