yuzu-emu
/
yuzu
Archived
1
0
Fork 0

Merge pull request #12140 from liamwhite/qcr-unreachable

query_cache: demote report synced unreachable to assert
This commit is contained in:
liamwhite 2023-11-24 00:09:00 -05:00 committed by GitHub
commit 093eb075a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ void QueryCacheBase<Traits>::CounterReport(GPUVAddr addr, QueryType counter_type
return; return;
} }
if (False(query_base->flags & QueryFlagBits::IsFinalValueSynced)) [[unlikely]] { if (False(query_base->flags & QueryFlagBits::IsFinalValueSynced)) [[unlikely]] {
UNREACHABLE(); ASSERT(false);
return; return;
} }
query_base->value += streamer->GetAmmendValue(); query_base->value += streamer->GetAmmendValue();