Fixed off-by-one error in comparing maximum scanlines per frame.

git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2560 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2012-10-25 13:14:09 +00:00
parent b67625bfec
commit dc33420c95
1 changed files with 1 additions and 1 deletions

View File

@ -1317,7 +1317,7 @@ bool TIA::poke(uInt16 addr, uInt8 value)
updateFrame(clock + delay);
// If a VSYNC hasn't been generated in time go ahead and end the frame
if(((clock - myClockWhenFrameStarted) / 228) > (Int32)myMaximumNumberOfScanlines)
if(((clock - myClockWhenFrameStarted) / 228) >= (Int32)myMaximumNumberOfScanlines)
{
mySystem->m6502().stop();
myPartialFrameFlag = false;