diff options
author | Lioncash <mathew1800@gmail.com> | 2022-11-29 14:55:30 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2022-11-29 14:55:33 +0100 |
commit | c4af7b3f5cb9a24b48709fcabd21a3cceb2a43c5 (patch) | |
tree | e0dc3ca4de17440858c1a46ff662372b01ea2e62 /src/video_core/host1x/syncpoint_manager.h | |
parent | Merge pull request #9340 from lioncash/nvdrv (diff) | |
download | yuzu-c4af7b3f5cb9a24b48709fcabd21a3cceb2a43c5.tar yuzu-c4af7b3f5cb9a24b48709fcabd21a3cceb2a43c5.tar.gz yuzu-c4af7b3f5cb9a24b48709fcabd21a3cceb2a43c5.tar.bz2 yuzu-c4af7b3f5cb9a24b48709fcabd21a3cceb2a43c5.tar.lz yuzu-c4af7b3f5cb9a24b48709fcabd21a3cceb2a43c5.tar.xz yuzu-c4af7b3f5cb9a24b48709fcabd21a3cceb2a43c5.tar.zst yuzu-c4af7b3f5cb9a24b48709fcabd21a3cceb2a43c5.zip |
Diffstat (limited to 'src/video_core/host1x/syncpoint_manager.h')
-rw-r--r-- | src/video_core/host1x/syncpoint_manager.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/host1x/syncpoint_manager.h b/src/video_core/host1x/syncpoint_manager.h index 50a264e23..feafc926e 100644 --- a/src/video_core/host1x/syncpoint_manager.h +++ b/src/video_core/host1x/syncpoint_manager.h @@ -48,9 +48,9 @@ public: expected_value, std::move(func)); } - void DeregisterGuestAction(u32 syncpoint_id, ActionHandle& handle); + void DeregisterGuestAction(u32 syncpoint_id, const ActionHandle& handle); - void DeregisterHostAction(u32 syncpoint_id, ActionHandle& handle); + void DeregisterHostAction(u32 syncpoint_id, const ActionHandle& handle); void IncrementGuest(u32 syncpoint_id); @@ -76,7 +76,7 @@ private: std::list<RegisteredAction>& action_storage, u32 expected_value, std::function<void()>&& action); - void DeregisterAction(std::list<RegisteredAction>& action_storage, ActionHandle& handle); + void DeregisterAction(std::list<RegisteredAction>& action_storage, const ActionHandle& handle); void Wait(std::atomic<u32>& syncpoint, std::condition_variable& wait_cv, u32 expected_value); |