diff --git a/src/emucore/TIA.cxx b/src/emucore/TIA.cxx index ea2526d93..02b7ad712 100644 --- a/src/emucore/TIA.cxx +++ b/src/emucore/TIA.cxx @@ -868,9 +868,9 @@ void TIA::updateScanline() int clock; do { - mySystem->m6502().execute(1); - clock = mySystem->cycles() * 3; - updateFrame(clock); + mySystem->m6502().execute(1); + clock = mySystem->cycles() * 3; + updateFrame(clock); } while(clock < endClock); // if we finished the frame, get ready for the next one