Changed Frameskip function to mirror that of WinUAE's (value 1 is now the default and means draw every frame, higher values enable frameskip at different rates). Fixes #504

This commit is contained in:
Dimitris Panokostas 2019-09-01 12:56:05 +02:00
parent 16d0220e3f
commit f6b862e084
6 changed files with 6 additions and 11 deletions

View file

@ -81,7 +81,7 @@ public:
}
}
else if (actionEvent.getSource() == chkFrameskip)
workprefs.gfx_framerate = chkFrameskip->isSelected() ? 1 : 0;
workprefs.gfx_framerate = chkFrameskip->isSelected() ? 2 : 1;
else if (actionEvent.getSource() == chkAspect)
workprefs.gfx_correct_aspect = chkAspect->isSelected();
@ -320,7 +320,7 @@ void ExitPanelDisplay()
void RefreshPanelDisplay()
{
chkFrameskip->setSelected(workprefs.gfx_framerate);
chkFrameskip->setSelected(workprefs.gfx_framerate > 1);
int i;
char tmp[32];