1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-06 01:28:57 +00:00

Removed data work if sync is enabled; in that case no data is output.

This commit is contained in:
Thomas Harte 2017-07-08 21:01:07 -04:00
parent d6b87053bf
commit 30e93979d2

View File

@ -76,6 +76,7 @@ void Video::set_sync(bool sync) {
void Video::output_byte(uint8_t byte) {
// Complete whatever was going on.
if(sync_) return;
flush();
// Grab a buffer if one isn't already available.