diff options
author | bunnei <bunneidev@gmail.com> | 2019-05-24 18:23:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-24 18:23:15 -0400 |
commit | d4f8fe24d943c8ef54eb24d2d7e3c1488a7f10bd (patch) | |
tree | 070b7852b128debc7c48c98c5754c80ca75adef8 /src/core/hle/service | |
parent | c70404eab5ad77c48c1b6a0a573e08aad404dafa (diff) | |
parent | 5993133d5e3830f5b5ee166086bfe6d019a9b8c8 (diff) |
Merge pull request #2489 from FearlessTobi/port-4716
Port citra-emu/citra#4716: "HLE/IPC: HLEContext can memorize the client thread and use it for SleepClientThread"
Diffstat (limited to 'src/core/hle/service')
-rw-r--r-- | src/core/hle/service/vi/vi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/vi/vi.cpp b/src/core/hle/service/vi/vi.cpp index 4e17249a9..f1fa6ccd1 100644 --- a/src/core/hle/service/vi/vi.cpp +++ b/src/core/hle/service/vi/vi.cpp @@ -556,7 +556,7 @@ private: } else { // Wait the current thread until a buffer becomes available ctx.SleepClientThread( - Kernel::GetCurrentThread(), "IHOSBinderDriver::DequeueBuffer", -1, + "IHOSBinderDriver::DequeueBuffer", -1, [=](Kernel::SharedPtr<Kernel::Thread> thread, Kernel::HLERequestContext& ctx, Kernel::ThreadWakeupReason reason) { // Repeat TransactParcel DequeueBuffer when a buffer is available |