mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-26 10:19:47 -04:00
fe42da2744
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>
31 lines
680 B
C
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
|