Permalink
Browse files

Move comments in function to be more relevant

  • Loading branch information...
mrfixit2001 committed Nov 4, 2018
1 parent 42c50a0 commit d9ad57e91821907cdcb71c725bb21f9be35cfb08
Showing with 2 additions and 1 deletion.
  1. +2 −1 Core/HLE/sceDisplay.cpp
@@ -504,11 +504,12 @@ static void DoFrameDropLogging(float scaledTimestep) {
}
static int CalculateFrameSkip() {
// Used to calculate the FPS to skip if the user sets the type to percent of fps
int frameSkipNum;
if (g_Config.iFrameSkipType == 1) {
// Calculate the frames to skip dynamically using the set percentage of the current fps
frameSkipNum = ceil( flips * (static_cast<double>(g_Config.iFrameSkip) / 100.00) );
} else {
// Use the set number of frames to skip
frameSkipNum = g_Config.iFrameSkip;
}
return frameSkipNum;

0 comments on commit d9ad57e

Please sign in to comment.