diff options
| author | Fernando S <fsahmkow27@gmail.com> | 2022-06-16 02:41:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-16 02:41:12 +0200 |
| commit | f86b770ff75efff029fa82b959b3f33eca1750fe (patch) | |
| tree | 8c1aa046c96d7f943288ecb3455f4091cdc31a09 /src/core/hle/service | |
| parent | 0ae4eae9a6f5ccb351ad1eb2ae35fb35d03661e1 (diff) | |
| parent | 888f499188cb869dc8f8f1597c46add65c005324 (diff) | |
Merge pull request #8457 from liamwhite/kprocess-suspend
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; |
