SVC: Remove GetPointer usage in CreatePort.

This commit is contained in:
Subv 2017-10-04 12:11:55 -05:00
parent 7b09b30ef1
commit 46fc7595b4
2 changed files with 4 additions and 6 deletions

View file

@ -1104,9 +1104,9 @@ static ResultCode CreateMemoryBlock(Kernel::Handle* out_handle, u32 addr, u32 si
}
static ResultCode CreatePort(Kernel::Handle* server_port, Kernel::Handle* client_port,
const char* name, u32 max_sessions) {
VAddr name_address, u32 max_sessions) {
// TODO(Subv): Implement named ports.
ASSERT_MSG(name == nullptr, "Named ports are currently unimplemented");
ASSERT_MSG(name_address == 0, "Named ports are currently unimplemented");
using Kernel::ServerPort;
using Kernel::ClientPort;