mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-12 17:48:43 +00:00
Fix slow-motion alternate speeds
This commit is contained in:
parent
a2781e4104
commit
a48e1de2d4
@ -353,10 +353,9 @@ void DoFrameTiming(bool &throttle, bool &skipFrame, float timestep) {
|
||||
skipFrame = true;
|
||||
}
|
||||
|
||||
if (curFrameTime < nextFrameTime && throttle)
|
||||
{
|
||||
if (curFrameTime < nextFrameTime && throttle) {
|
||||
// If time gap is huge just jump (somebody unthrottled)
|
||||
if (nextFrameTime - curFrameTime > 2*timestep) {
|
||||
if ((nextFrameTime - curFrameTime > 2*timestep) && fpsLimiter == FPS_LIMIT_NORMAL) {
|
||||
nextFrameTime = curFrameTime + timestep;
|
||||
} else {
|
||||
// Wait until we've caught up.
|
||||
|
Loading…
x
Reference in New Issue
Block a user