diff options
author | comex <comexk@gmail.com> | 2020-11-22 21:48:23 +0100 |
---|---|---|
committer | comex <comexk@gmail.com> | 2020-11-24 18:59:41 +0100 |
commit | e8b2fd21d861997e558180d775b14afdc46f3bbd (patch) | |
tree | 3f4860a38b5935d305f4dd9d08924fc6e5705126 /src/core/hle/service/nvdrv/syncpoint_manager.h | |
parent | Merge pull request #4451 from slashiee/extended-logging (diff) | |
download | yuzu-e8b2fd21d861997e558180d775b14afdc46f3bbd.tar yuzu-e8b2fd21d861997e558180d775b14afdc46f3bbd.tar.gz yuzu-e8b2fd21d861997e558180d775b14afdc46f3bbd.tar.bz2 yuzu-e8b2fd21d861997e558180d775b14afdc46f3bbd.tar.lz yuzu-e8b2fd21d861997e558180d775b14afdc46f3bbd.tar.xz yuzu-e8b2fd21d861997e558180d775b14afdc46f3bbd.tar.zst yuzu-e8b2fd21d861997e558180d775b14afdc46f3bbd.zip |
Diffstat (limited to 'src/core/hle/service/nvdrv/syncpoint_manager.h')
-rw-r--r-- | src/core/hle/service/nvdrv/syncpoint_manager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/nvdrv/syncpoint_manager.h b/src/core/hle/service/nvdrv/syncpoint_manager.h index 4168b6c7e..d395c5d0b 100644 --- a/src/core/hle/service/nvdrv/syncpoint_manager.h +++ b/src/core/hle/service/nvdrv/syncpoint_manager.h @@ -37,7 +37,7 @@ public: * @returns The lower bound for the specified syncpoint. */ u32 GetSyncpointMin(u32 syncpoint_id) const { - return syncpoints[syncpoint_id].min.load(std::memory_order_relaxed); + return syncpoints.at(syncpoint_id).min.load(std::memory_order_relaxed); } /** @@ -46,7 +46,7 @@ public: * @returns The upper bound for the specified syncpoint. */ u32 GetSyncpointMax(u32 syncpoint_id) const { - return syncpoints[syncpoint_id].max.load(std::memory_order_relaxed); + return syncpoints.at(syncpoint_id).max.load(std::memory_order_relaxed); } /** |