Debugger fixes:

* Fix scanline stepping during blank
    * Fix start of visible range
This commit is contained in:
Christian Speckner 2017-02-16 22:57:24 +01:00
parent ad81f2b5d7
commit 0efbbdec45
2 changed files with 2 additions and 2 deletions

View File

@ -326,7 +326,7 @@ void FrameManager::setFixedHeight(uInt32 height)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
uInt32 FrameManager::scanlines() const uInt32 FrameManager::scanlines() const
{ {
return myState == State::frame ? myCurrentFrameTotalLines : myCurrentFrameFinalLines; return myCurrentFrameTotalLines;
} }
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

View File

@ -690,7 +690,7 @@ bool TIA::scanlinePos(uInt16& x, uInt16& y) const
if(1)//myFramePointerClocks >= myFramePointerOffset) if(1)//myFramePointerClocks >= myFramePointerOffset)
{ {
x = clocksThisLine();//(myFramePointerClocks - myFramePointerOffset) % 160; x = clocksThisLine();//(myFramePointerClocks - myFramePointerOffset) % 160;
y = scanlines();//(myFramePointerClocks - myFramePointerOffset) / 160; y = myFrameManager.getY();//(myFramePointerClocks - myFramePointerOffset) / 160;
return true; return true;
} }
else else