diff options
author | Fernando S <fsahmkow27@gmail.com> | 2022-04-01 01:29:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-01 01:29:46 +0200 |
commit | 078a6cb0cbff1d08bcf12e102bb8ddc06c2c584b (patch) | |
tree | 070ac6af35d734fe1f948b56792ff87175cadba8 /src/core/hle/service | |
parent | Merge pull request #8076 from ameerj/nv-vk-msaa-scale (diff) | |
parent | nvhost_ctrl: Only mark EventState::Busy as BadParameter (diff) | |
download | yuzu-078a6cb0cbff1d08bcf12e102bb8ddc06c2c584b.tar yuzu-078a6cb0cbff1d08bcf12e102bb8ddc06c2c584b.tar.gz yuzu-078a6cb0cbff1d08bcf12e102bb8ddc06c2c584b.tar.bz2 yuzu-078a6cb0cbff1d08bcf12e102bb8ddc06c2c584b.tar.lz yuzu-078a6cb0cbff1d08bcf12e102bb8ddc06c2c584b.tar.xz yuzu-078a6cb0cbff1d08bcf12e102bb8ddc06c2c584b.tar.zst yuzu-078a6cb0cbff1d08bcf12e102bb8ddc06c2c584b.zip |
Diffstat (limited to 'src/core/hle/service')
-rw-r--r-- | src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp b/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp index f9b82b504..44c54c665 100644 --- a/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp +++ b/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp @@ -134,7 +134,7 @@ NvResult nvhost_ctrl::IocCtrlEventWait(const std::vector<u8>& input, std::vector } EventState status = events_interface.status[event_id]; - const bool bad_parameter = status != EventState::Free && status != EventState::Registered; + const bool bad_parameter = status == EventState::Busy; if (bad_parameter) { std::memcpy(output.data(), ¶ms, sizeof(params)); return NvResult::BadParameter; |