mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-24 23:03:35 +01:00
Slow down the GPU clock estimate.
This makes Fat Princess for example much faster.
This commit is contained in:
1 parent
5d017829ad
commit
210c7b1639
2 files changed
+4
-2
No files matched your search
@@ -334,7 +334,8 @@ void GLES_GPU::ExecuteOp(u32 op, u32 diff) {
|
||||
break;
|
||||
}
|
||||
|
||||
cyclesExecuted += 10 * count;
|
||||
// Rough estimate, not sure what's correct.
|
||||
cyclesExecuted += 80 * count;
|
||||
|
||||
// TODO: Split this so that we can collect sequences of primitives, can greatly speed things up
|
||||
// on platforms where draw calls are expensive like mobile and D3D
|
||||
|
||||
+2
-1
@@ -426,7 +426,8 @@ bool GPUCommon::InterpretList(DisplayList &list)
|
||||
|
||||
inline void GPUCommon::UpdateCycles(u32 pc, u32 newPC)
|
||||
{
|
||||
cyclesExecuted += (pc - cycleLastPC) / 4;
|
||||
// Rough estimate, 2 CPU ticks (it's double the clock rate) per GPU instruction.
|
||||
cyclesExecuted += 2 * (pc - cycleLastPC) / 4;
|
||||
cycleLastPC = newPC == 0 ? pc : newPC;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user