2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

query_cache: demote report synced unreachable to assert

This commit is contained in:
Liam 2023-11-23 09:33:02 -05:00
parent 91c12db070
commit 453fd47030

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();