summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorKelebek1 <eeeedddccc@hotmail.co.uk>2023-05-31 20:10:00 +0200
committerKelebek1 <eeeedddccc@hotmail.co.uk>2023-05-31 20:10:00 +0200
commit6839341f17326ad932565e7c1a5a07e3d3020da2 (patch)
treec2b52394060191c1ff1ce33be873d4d0c666baa7 /src/core/hle
parentMerge pull request #10504 from 12101111/rename-pagesize (diff)
downloadyuzu-6839341f17326ad932565e7c1a5a07e3d3020da2.tar
yuzu-6839341f17326ad932565e7c1a5a07e3d3020da2.tar.gz
yuzu-6839341f17326ad932565e7c1a5a07e3d3020da2.tar.bz2
yuzu-6839341f17326ad932565e7c1a5a07e3d3020da2.tar.lz
yuzu-6839341f17326ad932565e7c1a5a07e3d3020da2.tar.xz
yuzu-6839341f17326ad932565e7c1a5a07e3d3020da2.tar.zst
yuzu-6839341f17326ad932565e7c1a5a07e3d3020da2.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/service/nvdrv/core/syncpoint_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/nvdrv/core/syncpoint_manager.cpp b/src/core/hle/service/nvdrv/core/syncpoint_manager.cpp
index aba51d280..c4c4c2593 100644
--- a/src/core/hle/service/nvdrv/core/syncpoint_manager.cpp
+++ b/src/core/hle/service/nvdrv/core/syncpoint_manager.cpp
@@ -64,7 +64,7 @@ void SyncpointManager::FreeSyncpoint(u32 id) {
}
bool SyncpointManager::IsSyncpointAllocated(u32 id) const {
- return (id <= SyncpointCount) && syncpoints[id].reserved;
+ return (id < SyncpointCount) && syncpoints[id].reserved;
}
bool SyncpointManager::HasSyncpointExpired(u32 id, u32 threshold) const {