summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/vi/vi.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-08-03 17:28:18 +0200
committerLioncash <mathew1800@gmail.com>2020-08-03 17:54:04 +0200
commitb249e4e0ce15c44bd0d917a17f79510af868173b (patch)
treed4dc63a692c446e87ee614481030af16385e88ba /src/core/hle/service/vi/vi.cpp
parentipc: Allow all trivially copyable objects to be passed directly into WriteBuffer (#4465) (diff)
downloadyuzu-b249e4e0ce15c44bd0d917a17f79510af868173b.tar
yuzu-b249e4e0ce15c44bd0d917a17f79510af868173b.tar.gz
yuzu-b249e4e0ce15c44bd0d917a17f79510af868173b.tar.bz2
yuzu-b249e4e0ce15c44bd0d917a17f79510af868173b.tar.lz
yuzu-b249e4e0ce15c44bd0d917a17f79510af868173b.tar.xz
yuzu-b249e4e0ce15c44bd0d917a17f79510af868173b.tar.zst
yuzu-b249e4e0ce15c44bd0d917a17f79510af868173b.zip
Diffstat (limited to 'src/core/hle/service/vi/vi.cpp')
-rw-r--r--src/core/hle/service/vi/vi.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/vi/vi.cpp b/src/core/hle/service/vi/vi.cpp
index 825d11a3f..988d253f9 100644
--- a/src/core/hle/service/vi/vi.cpp
+++ b/src/core/hle/service/vi/vi.cpp
@@ -548,8 +548,8 @@ private:
// Wait the current thread until a buffer becomes available
ctx.SleepClientThread(
"IHOSBinderDriver::DequeueBuffer", UINT64_MAX,
- [=](std::shared_ptr<Kernel::Thread> thread, Kernel::HLERequestContext& ctx,
- Kernel::ThreadWakeupReason reason) {
+ [=, this](std::shared_ptr<Kernel::Thread> thread,
+ Kernel::HLERequestContext& ctx, Kernel::ThreadWakeupReason reason) {
// Repeat TransactParcel DequeueBuffer when a buffer is available
const auto guard = nv_flinger->Lock();
auto& buffer_queue = nv_flinger->FindBufferQueue(id);