From b7a617023c31fdc9cd399a8c7448de92e9aea075 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sat, 22 Oct 2022 09:09:17 -0700 Subject: [PATCH] GPU: Consume cycles in bounding box check. --- GPU/GPUCommon.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/GPU/GPUCommon.cpp b/GPU/GPUCommon.cpp index 35d91df78a..4fb2963851 100644 --- a/GPU/GPUCommon.cpp +++ b/GPU/GPUCommon.cpp @@ -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;