Changed in scanlines per frame are now actually done every frame, and every

8 frames.  This is necessary for ROMs that 'abuse' the system and have
inconsistent scanline counts on every single frame.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2561 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2012-10-25 16:24:55 +00:00
parent dc33420c95
commit 029ea006f6
1 changed files with 1 additions and 1 deletions

View File

@ -623,7 +623,7 @@ inline void TIA::endFrame()
myPALFrameCounter++;
// Recalculate framerate. attempting to auto-correct for scanline 'jumps'
if(myFrameCounter % 8 == 0 && myAutoFrameEnabled)
if(myAutoFrameEnabled)
{
myFramerate = (myScanlineCountForLastFrame > 285 ? 15600.0 : 15720.0) /
myScanlineCountForLastFrame;