mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00:00
Merge pull request #18113 from hrydgard/fastforward-fix
Have unthrottle override alternate speeds, like before.
This commit is contained in:
commit
383ade0562
@ -362,6 +362,9 @@ static int FrameTimingLimit() {
|
||||
}
|
||||
};
|
||||
|
||||
// Note: Fast-forward is OK in challenge mode.
|
||||
if (PSP_CoreParameter().fastForward)
|
||||
return 0;
|
||||
// Can't slow down in challenge mode.
|
||||
if (PSP_CoreParameter().fpsLimit == FPSLimit::CUSTOM1)
|
||||
return fixRate(g_Config.iFpsLimit1);
|
||||
@ -369,9 +372,6 @@ static int FrameTimingLimit() {
|
||||
return fixRate(g_Config.iFpsLimit2);
|
||||
if (PSP_CoreParameter().fpsLimit == FPSLimit::ANALOG)
|
||||
return fixRate(PSP_CoreParameter().analogFpsLimit);
|
||||
// Note: Fast-forward is OK in challenge mode.
|
||||
if (PSP_CoreParameter().fastForward)
|
||||
return 0;
|
||||
return framerate;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user