GPU: Consume cycles in bounding box check.

This commit is contained in:
Unknown W. Brackets 2022-10-22 09:09:17 -07:00
parent 6ddf22487b
commit b7a617023c

View file

@ -2159,6 +2159,9 @@ void GPUCommon::Execute_BoundingBox(u32 op, u32 diff) {
return;
}
// Approximate based on timings of several counts on a PSP.
cyclesExecuted += count * 22;
VertexDecoder *dec = drawEngineCommon_->GetVertexDecoder(gstate.vertType);
int bytesRead = dec->VertexSize() * count;