diff options
| author | bunnei <bunneidev@gmail.com> | 2018-08-09 19:30:51 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-09 19:30:51 -0400 |
| commit | 5191c20b71310fcaea70a32e20ccebdeb50e145f (patch) | |
| tree | a7186115b592d23d9b255c9a384c6ef3e47adfec /src/core/hle/kernel/hle_ipc.cpp | |
| parent | a91bb7080dbc1395ee16b5c9d6316645b79272af (diff) | |
| parent | b46a5c42ff93cdbfe4fa00fdb44e97ed7313ac4e (diff) | |
Merge pull request #997 from lioncash/const-func
core: Make function reference parameters const where applicable
Diffstat (limited to 'src/core/hle/kernel/hle_ipc.cpp')
| -rw-r--r-- | src/core/hle/kernel/hle_ipc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/hle_ipc.cpp b/src/core/hle/kernel/hle_ipc.cpp index 5dd1b68d7..82a3fb5a8 100644 --- a/src/core/hle/kernel/hle_ipc.cpp +++ b/src/core/hle/kernel/hle_ipc.cpp @@ -201,7 +201,7 @@ ResultCode HLERequestContext::PopulateFromIncomingCommandBuffer(u32_le* src_cmdb return RESULT_SUCCESS; } -ResultCode HLERequestContext::WriteToOutgoingCommandBuffer(Thread& thread) { +ResultCode HLERequestContext::WriteToOutgoingCommandBuffer(const Thread& thread) { std::array<u32, IPC::COMMAND_BUFFER_LENGTH> dst_cmdbuf; Memory::ReadBlock(*thread.owner_process, thread.GetTLSAddress(), dst_cmdbuf.data(), dst_cmdbuf.size() * sizeof(u32)); |
