diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2019-09-20 02:25:12 +0200 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2019-09-20 02:25:12 +0200 |
commit | 0740758b257753188ae65622742b3d931e9778cf (patch) | |
tree | 4d4e2c281f8107ce873ec0242c3ebff52697ebc2 /src/core/hle | |
parent | Initial implementation of Ioctl2 & Ioctl3 (diff) | |
download | yuzu-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 |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/nvdrv/interface.cpp | 2 |
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) { |