Files
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

31 lines
680 B
C

#ifndef PSXRECOMP_DEBUG_TRACE_RANGES_H
#define PSXRECOMP_DEBUG_TRACE_RANGES_H
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct PSXDebugTraceRange {
uint32_t lo;
uint32_t hi;
} PSXDebugTraceRange;
/*
* Parse "lo,hi[;lo,hi...]" into masked-physical, half-open ranges.
*
* Returns the number of ranges, or -1 for malformed/reversed input and -2
* when the destination is too small. Callers must discard the output on any
* negative result.
*/
int psx_debug_parse_trace_ranges(const char *spec,
PSXDebugTraceRange *ranges,
int capacity);
#ifdef __cplusplus
}
#endif
#endif