diff options
| author | Liam <byteslice@airmail.cc> | 2022-06-13 18:36:30 -0400 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2022-06-14 10:04:11 -0400 |
| commit | 888f499188cb869dc8f8f1597c46add65c005324 (patch) | |
| tree | 2abcaaf69fcb2c15352c99add7a97c9eea567486 /src/core/hle/service | |
| parent | c6e7ca562ac4c8957d64f7d9161aa53ca43a96ff (diff) | |
kernel: implement KProcess suspension
Diffstat (limited to 'src/core/hle/service')
| -rw-r--r-- | src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp b/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp index 705fefc83..527531f29 100644 --- a/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp +++ b/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp @@ -150,9 +150,9 @@ NvResult nvhost_ctrl::IocCtrlEventWait(const std::vector<u8>& input, std::vector event.event->GetWritableEvent().Clear(); if (events_interface.failed[event_id]) { { - auto lk = system.StallCPU(); + auto lk = system.StallProcesses(); gpu.WaitFence(params.syncpt_id, target_value); - system.UnstallCPU(); + system.UnstallProcesses(); } std::memcpy(output.data(), ¶ms, sizeof(params)); events_interface.failed[event_id] = false; |
