mirror of https://github.com/stella-emu/stella.git
Debugger fixes:
* Fix scanline stepping during blank * Fix start of visible range
This commit is contained in:
parent
ad81f2b5d7
commit
0efbbdec45
|
@ -326,7 +326,7 @@ void FrameManager::setFixedHeight(uInt32 height)
|
|||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
uInt32 FrameManager::scanlines() const
|
||||
{
|
||||
return myState == State::frame ? myCurrentFrameTotalLines : myCurrentFrameFinalLines;
|
||||
return myCurrentFrameTotalLines;
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
|
|
@ -690,7 +690,7 @@ bool TIA::scanlinePos(uInt16& x, uInt16& y) const
|
|||
if(1)//myFramePointerClocks >= myFramePointerOffset)
|
||||
{
|
||||
x = clocksThisLine();//(myFramePointerClocks - myFramePointerOffset) % 160;
|
||||
y = scanlines();//(myFramePointerClocks - myFramePointerOffset) / 160;
|
||||
y = myFrameManager.getY();//(myFramePointerClocks - myFramePointerOffset) / 160;
|
||||
return true;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue