From 059831534c7e884f0a607ed86b582fd00d821731 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Sat, 26 Sep 2026 23:24:03 +0200 Subject: New upstream version 3.2.0~rc1+dfsg --- map65/libm65/stdout_shared_layout.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'map65/libm65/stdout_shared_layout.h') diff --git a/map65/libm65/stdout_shared_layout.h b/map65/libm65/stdout_shared_layout.h index c45d8852..4564678e 100644 --- a/map65/libm65/stdout_shared_layout.h +++ b/map65/libm65/stdout_shared_layout.h @@ -7,7 +7,10 @@ struct StdoutSharedHeader { std::uint32_t version; // For compatibility std::uint32_t writeIndex; // Next write position in buffer - std::uint32_t dataSize; // Bytes of new data just written + std::uint32_t readIndex; // Last position consumed by the reader thread; + // the writer uses this to compute free space + // and apply backpressure instead of + // overwriting unread data. std::uint32_t seq; // Incremented each write (helps detect missed events) }; -- cgit v1.2.3