diff options
| author | 2018-03-18 22:25:09 -0400 | |
|---|---|---|
| committer | 2018-03-18 22:25:09 -0400 | |
| commit | 2dc3a56e9602e0bfba9bfc19f31f0433d1564ccc (patch) | |
| tree | 6e49476a6c0c1a333090a01afa7a4fbfd11b8888 /src/core/hle/service/service.cpp | |
| parent | Merge pull request #249 from Subv/macro_E1A (diff) | |
| parent | vi: Remove DequeueBuffer and wait until next available buffer. (diff) | |
| download | yuzu-2dc3a56e9602e0bfba9bfc19f31f0433d1564ccc.tar.gz yuzu-2dc3a56e9602e0bfba9bfc19f31f0433d1564ccc.tar.xz yuzu-2dc3a56e9602e0bfba9bfc19f31f0433d1564ccc.zip | |
Merge pull request #250 from bunnei/buffer-dequeue-wait
vi: TransactParcel DequeueBuffer should wait current thread
Diffstat (limited to 'src/core/hle/service/service.cpp')
| -rw-r--r-- | src/core/hle/service/service.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp index 8818b0f0f..a1ca8a033 100644 --- a/src/core/hle/service/service.cpp +++ b/src/core/hle/service/service.cpp | |||
| @@ -152,8 +152,7 @@ ResultCode ServiceFrameworkBase::HandleSyncRequest(Kernel::HLERequestContext& co | |||
| 152 | UNIMPLEMENTED_MSG("command_type=%d", context.GetCommandType()); | 152 | UNIMPLEMENTED_MSG("command_type=%d", context.GetCommandType()); |
| 153 | } | 153 | } |
| 154 | 154 | ||
| 155 | u32* cmd_buf = (u32*)Memory::GetPointer(Kernel::GetCurrentThread()->GetTLSAddress()); | 155 | context.WriteToOutgoingCommandBuffer(*Kernel::GetCurrentThread()); |
| 156 | context.WriteToOutgoingCommandBuffer(cmd_buf, *Core::CurrentProcess(), Kernel::g_handle_table); | ||
| 157 | 156 | ||
| 158 | return RESULT_SUCCESS; | 157 | return RESULT_SUCCESS; |
| 159 | } | 158 | } |