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

26 lines
550 B
C
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
* host_time.h — cross-platform monotonic ms + high-res sleep.
*
* Windows netplay/pacing must not use GetTickCount64 / Sleep for short
* slices (coarse ~1–15.6 ms). Match recomp-net / BattleShip: QPC + waitable
* timer. Unix: CLOCK_MONOTONIC + usleep.
*/
#ifndef PSX_HOST_TIME_H
#define PSX_HOST_TIME_H
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
uint64_t psx_host_mono_ms(void);
void psx_host_sleep_micros(unsigned usec);
void psx_host_sleep_ms(unsigned ms);
#ifdef __cplusplus
}
#endif
#endif /* PSX_HOST_TIME_H */