summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2019-09-20 02:25:12 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2019-09-20 02:25:12 +0200
commit0740758b257753188ae65622742b3d931e9778cf (patch)
tree4d4e2c281f8107ce873ec0242c3ebff52697ebc2
parentInitial implementation of Ioctl2 & Ioctl3 (diff)
downloadyuzu-0740758b257753188ae65622742b3d931e9778cf.tar
yuzu-0740758b257753188ae65622742b3d931e9778cf.tar.gz
yuzu-0740758b257753188ae65622742b3d931e9778cf.tar.bz2
yuzu-0740758b257753188ae65622742b3d931e9778cf.tar.lz
yuzu-0740758b257753188ae65622742b3d931e9778cf.tar.xz
yuzu-0740758b257753188ae65622742b3d931e9778cf.tar.zst
yuzu-0740758b257753188ae65622742b3d931e9778cf.zip
-rw-r--r--src/core/hle/service/nvdrv/interface.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/service/nvdrv/interface.cpp b/src/core/hle/service/nvdrv/interface.cpp
index b154d598a..699494fcd 100644
--- a/src/core/hle/service/nvdrv/interface.cpp
+++ b/src/core/hle/service/nvdrv/interface.cpp
@@ -60,6 +60,7 @@ void NVDRV::IoctlBase(Kernel::HLERequestContext& ctx, IoctlVersion version) {
if (ctrl.must_delay) {
ctrl.fresh_call = false;
+ // clang-format off
ctx.SleepClientThread(
"NVServices::DelayedResponse", ctrl.timeout,
[=](Kernel::SharedPtr<Kernel::Thread> thread, Kernel::HLERequestContext& ctx,
@@ -78,6 +79,7 @@ void NVDRV::IoctlBase(Kernel::HLERequestContext& ctx, IoctlVersion version) {
rb.Push(result);
},
nvdrv->GetEventWriteable(ctrl.event_id));
+ // clang-format on
} else {
ctx.WriteBuffer(output);
if (version == IoctlVersion::Version3) {