Skip to content

Commit

Permalink
make sure that you can rotate through the list of frameskip options
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanovic committed Dec 13, 2011
1 parent c4d5530 commit c57322e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unix/menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -494,9 +494,9 @@ void menu_loop(void)
else
Settings.SkipFrames++;

if(Settings.SkipFrames>=10)
if(Settings.SkipFrames<=0 || Settings.SkipFrames==10)
Settings.SkipFrames = AUTO_FRAMERATE;
else if (Settings.SkipFrames<=1)
else if (Settings.SkipFrames>=11)
Settings.SkipFrames = 1;
break;
case 12: // set vsync
Expand Down

0 comments on commit c57322e

Please sign in to comment.