Files
psxrecomp/overlay_toolchain/include/guest_tty.h
T
Matthew Stanley fe42da2744 Merge release/native-rendering-20261003 into master
Keeps both lines: master's PGXP session, draw-distance clamps, masked rejects
and saturated-winding NCLIP; the release's render-pass kit additions, verified
media/disc extents, timeline/present rings, cull-scale sites. Overlay ABI v30.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-04 19:27:02 -07:00

24 lines
594 B
C

#ifndef PSXRECOMP_GUEST_TTY_H
#define PSXRECOMP_GUEST_TTY_H
#include <stddef.h>
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Bounded observability sink for bytes emitted through the PS1 guest console.
* Writers never block. A snapshot returns the newest complete byte window and
* the monotonically increasing total number of bytes observed. */
void psx_guest_tty_putchar(uint8_t value);
size_t psx_guest_tty_snapshot(uint8_t *out, size_t capacity,
uint64_t *total_bytes);
void psx_guest_tty_reset(void);
#ifdef __cplusplus
}
#endif
#endif