Skip to content

Commit

Permalink
Partially revert #10456 (avoid limit FPS without a clear).
Browse files Browse the repository at this point in the history
It's a pretty gnarly hack-upon-a-hack. Better to remove the original hack (limit fps) in the general case.
  • Loading branch information
hrydgard committed Feb 6, 2019
1 parent fe8f558 commit 38a2d83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/HLE/sceDisplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -942,7 +942,7 @@ u32 sceDisplaySetFramebuf(u32 topaddr, int linesize, int pixelformat, int sync)
u64 now = CoreTiming::GetTicks();
s64 cyclesAhead = nextFlipCycles - now;
if (cyclesAhead > FLIP_DELAY_CYCLES_MIN) {
if (lastFlipsTooFrequent >= FLIP_DELAY_MIN_FLIPS && gpuStats.numClears > 0) {
if (lastFlipsTooFrequent >= FLIP_DELAY_MIN_FLIPS) {
delayCycles = cyclesAhead;
} else {
++lastFlipsTooFrequent;
Expand Down

0 comments on commit 38a2d83

Please sign in to comment.