Damn, the first commit and already I forgot something. This is going to be

very difficult, as I'm working on 3 different branches at the same time :(


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1840 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2009-07-16 12:30:44 +00:00
parent 6b4cc11b03
commit a568aaa007
1 changed files with 4 additions and 3 deletions

View File

@ -161,6 +161,8 @@ void TIA::reset()
myM0CosmicArkMotionEnabled = false; // FIXME - remove this
myM0CosmicArkCounter = 0; // FIXME - remove this
myScanlineCountForLastFrame = myCurrentScanline = 0;
enableBits(true);
myDumpEnabled = false;
@ -206,13 +208,12 @@ void TIA::frameReset()
if(myFrameHeight < 210) myFrameHeight = 210;
if(myFrameHeight > 256) myFrameHeight = 256;
myFramePointerOffset = 160 * myFrameYStart;
// Calculate color clock offsets for starting and stopping frame drawing
// Note that although we always start drawing at scanline zero, the
// framebuffer that is exposed outside the class actually starts at 'ystart'
myStartDisplayOffset = 0;
myStopDisplayOffset = 228 * (myFrameYStart + myFrameHeight);
myStopDisplayOffset = 228 * (myFrameYStart + myFrameHeight);
myFramePointerOffset = 160 * myFrameYStart;
// Reasonable values to start and stop the current frame drawing
myClockWhenFrameStarted = mySystem->cycles() * 3;