Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

disable clang-format temp

David Marcec7c1dd9debf5f
diff --git a/src/core/hle/service/nvdrv/interface.cpp b/src/core/hle/service/nvdrv/interface.cpp
index b154d598ae..699494fcd0 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) {