Added CreateSharedMemory & UNIMPLEMENTED() for non existent services. (#113)

* Added svcCreateSharedMemory

* Services which are not implemented now throw UNIMPLEMENTED()

* clang-format

* changed perms to u32

* removed camelcase
This commit is contained in:
David 2018-01-19 16:35:25 -08:00 committed by bunnei
parent dd62f125c3
commit 0b6da0c1ab
3 changed files with 23 additions and 1 deletions

View file

@ -103,6 +103,7 @@ 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);
UNIMPLEMENTED();
return;
}