diff options
| author | 2017-10-04 12:11:55 -0500 | |
|---|---|---|
| committer | 2017-10-04 14:04:03 -0500 | |
| commit | 46fc7595b4f5f161ecd5ae21259c661c15ca46f3 (patch) | |
| tree | 4c6c0e988414c1635a7a9b4a6d4954157ebe1adb /src/core/hle/svc.cpp | |
| parent | SVC: Replace GetPointer usage with ReadCString in ConnectToPort. (diff) | |
| download | yuzu-46fc7595b4f5f161ecd5ae21259c661c15ca46f3.tar.gz yuzu-46fc7595b4f5f161ecd5ae21259c661c15ca46f3.tar.xz yuzu-46fc7595b4f5f161ecd5ae21259c661c15ca46f3.zip | |
SVC: Remove GetPointer usage in CreatePort.
Diffstat (limited to 'src/core/hle/svc.cpp')
| -rw-r--r-- | src/core/hle/svc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp index 2ae177ab5..b72ca3581 100644 --- a/src/core/hle/svc.cpp +++ b/src/core/hle/svc.cpp | |||
| @@ -1104,9 +1104,9 @@ static ResultCode CreateMemoryBlock(Kernel::Handle* out_handle, u32 addr, u32 si | |||
| 1104 | } | 1104 | } |
| 1105 | 1105 | ||
| 1106 | static ResultCode CreatePort(Kernel::Handle* server_port, Kernel::Handle* client_port, | 1106 | static ResultCode CreatePort(Kernel::Handle* server_port, Kernel::Handle* client_port, |
| 1107 | const char* name, u32 max_sessions) { | 1107 | VAddr name_address, u32 max_sessions) { |
| 1108 | // TODO(Subv): Implement named ports. | 1108 | // TODO(Subv): Implement named ports. |
| 1109 | ASSERT_MSG(name == nullptr, "Named ports are currently unimplemented"); | 1109 | ASSERT_MSG(name_address == 0, "Named ports are currently unimplemented"); |
| 1110 | 1110 | ||
| 1111 | using Kernel::ServerPort; | 1111 | using Kernel::ServerPort; |
| 1112 | using Kernel::ClientPort; | 1112 | using Kernel::ClientPort; |