git: 9front

Download patch

ref: f6d2a34de1a023671cae5ac6ec4a9c042e4bc34b
parent: 92b6828b685786dc6d7a4e0435d371b574fe5f28
author: Jacob Moody <moody@posixcafe.org>
date: Sun Jul 9 15:55:35 EDT 2023

games/gb: correctly mark transmitted serial data as sent

--- a/sys/src/games/gb/serial.c
+++ b/sys/src/games/gb/serial.c
@@ -100,6 +100,8 @@
 	assert(theirs.c != Cgone);
 	if(theirs.c == Csync)
 		return;
+	if(leader)
+		mine.c = Cgone;
 
 	reg[SB] = theirs.b;
 	reg[SC] &= ~0x80;
--