early-access version 3627

This commit is contained in:
pineappleEA
2023-06-01 00:41:04 +02:00
parent a8ad9662f0
commit 8e874ed498
3 changed files with 6 additions and 2 deletions

View File

@@ -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 {