Closed kieranhj closed 6 years ago
Fixed up screen change buffer handling but seems to hold for a long time between screens? Seem to recall that vblank wait isn't in the place you would expect so might be causing the tearing
Moved vblank to correct place. Also noticed a bug (missing RTS!) which meant the background was being redrawn an extra time between screen changes. I think this is fixed now.
The double-buffer implementation isn't quite right. Can observe tearing in the lower half of the screen when stepping frames occasionally. Also when switching screens end up with the second to last frame being held during transition (lose last frame.)