mirror of https://github.com/stella-emu/stella.git
Partially implemented step by scanline in the debugger; I still have
some questions for DirtyHairy before I can finish it.
This commit is contained in:
parent
f1d503a0ef
commit
94e77d3b94
|
@ -843,14 +843,14 @@ void TIA::setJitterRecoveryFactor(Int32 f)
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
void TIA::updateScanline()
|
void TIA::updateScanline()
|
||||||
{
|
{
|
||||||
#if 0
|
// Update frame by one scanline at a time
|
||||||
int totalClocks = (mySystem->cycles() * 3) - myClockWhenFrameStarted;
|
uInt32 line = scanlines();
|
||||||
int endClock = ((totalClocks + 228) / 228) * 228;
|
cerr << "-> " << line << endl;
|
||||||
|
while (line == scanlines())
|
||||||
do {
|
{
|
||||||
updateScanlineByStep();
|
updateScanlineByStep();
|
||||||
} while((mySystem->cycles() * 3) < endClock);
|
cerr << line << endl;
|
||||||
#endif
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|
Loading…
Reference in New Issue