mirror of https://github.com/stella-emu/stella.git
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:
parent
b67625bfec
commit
dc33420c95
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue