mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-26 02:11:36 -04:00
e13a1f6660
Live-tunable selectable stretch gate to identify which drawn prims form the native-wide 2D-backdrop void: ws_dbg_stretch modes = OT-range / clut / tpage / tagged / untagged-tex / all-tex, with per-frame matched + matched-tagged counts (psx_ws_dbg_gate_frame_snapshot). Routes through the existing GL centre-stretch. Confirmed live: the void layer is the early-drawn, SPRITE-TAGGED 0x65 background grid (6 cols x 7, step-64, cluts unique to the backdrop); stretching it about screen-centre fills the void with no inter-tile gaps (GL scales width too). Tagged fills it; untagged (3D) does not. The prior content-match plan is DISPROVEN (template transformed beyond recognition before draw) -- corrected model recorded in BACKDROP_PRELOAD.md. Fix gate chosen: native-wide + tagged + background-phase (draw-time), since backdrop X is written by a shared sprite helper with no clean per-emit source signal. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>