mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-21 05:29:13 +00:00
Removed data work if sync is enabled; in that case no data is output.
This commit is contained in:
parent
d6b87053bf
commit
30e93979d2
@ -76,6 +76,7 @@ void Video::set_sync(bool sync) {
|
|||||||
|
|
||||||
void Video::output_byte(uint8_t byte) {
|
void Video::output_byte(uint8_t byte) {
|
||||||
// Complete whatever was going on.
|
// Complete whatever was going on.
|
||||||
|
if(sync_) return;
|
||||||
flush();
|
flush();
|
||||||
|
|
||||||
// Grab a buffer if one isn't already available.
|
// Grab a buffer if one isn't already available.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user