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/nvdrv/devices/nvhost_ctrl.cpp | |
parent | Merge pull request #8460 from Morph1984/bounded-q (diff) | |
parent | kernel: implement KProcess suspension (diff) | |
download | yuzu-f86b770ff75efff029fa82b959b3f33eca1750fe.tar yuzu-f86b770ff75efff029fa82b959b3f33eca1750fe.tar.gz yuzu-f86b770ff75efff029fa82b959b3f33eca1750fe.tar.bz2 yuzu-f86b770ff75efff029fa82b959b3f33eca1750fe.tar.lz yuzu-f86b770ff75efff029fa82b959b3f33eca1750fe.tar.xz yuzu-f86b770ff75efff029fa82b959b3f33eca1750fe.tar.zst yuzu-f86b770ff75efff029fa82b959b3f33eca1750fe.zip |
Diffstat (limited to '')
-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; |