Minor fix to prevent lots of errors in French Touch demos (need better timing fix!)

This commit is contained in:
Brendan Robert 2015-05-20 00:14:03 -05:00
parent 75e59a7870
commit 07a4494ca1

View File

@ -164,7 +164,7 @@ public abstract class Video extends Device {
setScannerLocation(currentWriter.getYOffset(y)); setScannerLocation(currentWriter.getYOffset(y));
} }
} else { } else {
if (!isVblank) { if (!isVblank && x < (APPLE_CYCLES_PER_LINE-1)) {
draw(); draw();
} }
if (x >= APPLE_CYCLES_PER_LINE - 1) { if (x >= APPLE_CYCLES_PER_LINE - 1) {