mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-04 11:43:47 +01:00
Remove the "Percentage of framerate" frameskip type
This commit is contained in:
1 parent
54e6d04f9a
commit
5aeab28e9b
11 files changed
+3
-81
No files matched your search
@@ -424,7 +424,7 @@ static void DoFrameTiming(bool throttle, bool *skipFrame, float scaledTimestep,
|
||||
}
|
||||
|
||||
// Auto-frameskip automatically if speed limit is set differently than the default.
|
||||
int frameSkipNum = DisplayCalculateFrameSkip();
|
||||
int frameSkipNum = g_Config.iFrameSkip;
|
||||
if (g_Config.bAutoFrameSkip && !g_Config.bSkipBufferEffects) {
|
||||
// autoframeskip
|
||||
// Argh, we are falling behind! Let's skip a frame and see if we catch up.
|
||||
@@ -673,7 +673,7 @@ void __DisplayFlip(int cyclesLate) {
|
||||
DoFrameTiming(throttle, &skipFrame, scaledTimestep, nextFrame);
|
||||
|
||||
int maxFrameskip = 8;
|
||||
int frameSkipNum = DisplayCalculateFrameSkip();
|
||||
const int frameSkipNum = g_Config.iFrameSkip;
|
||||
if (throttle) {
|
||||
// 4 here means 1 drawn, 4 skipped - so 12 fps minimum.
|
||||
maxFrameskip = frameSkipNum;
|
||||
|
||||
Reference in new issue
Block a user