Files
psxrecomp/tools
Matthew Stanley 966902f1f4 overlay: namespace the gcc DLL cache (no comingling)
SLJIT.md §7 step 1. gcc-compiled overlay DLLs now live under
<cache>/<game_id>/gcc/<arch-abi>/ so a same-OS different-arch DLL (and,
later, sljit blobs under sljit/<arch-abi>/) can never be confused for one
another. The backend-neutral coverage currency stays overlay_captures.json.

- overlay_loader.c: canonical PSX_OVERLAY_ARCH_ABI tag ("<os>-<arch>");
  scan_cache_dir() refactored to scan the namespaced gcc dir AND the legacy
  flat layout (<game_id>/*.dll) for back-compat — existing caches keep
  loading with no migration. The legacy scan path is a provably-equivalent
  refactor (same indexed paths as before).
- compile_overlays.py: cache_arch_abi() (lockstep with the C macro) writes
  DLLs to the namespaced gcc dir; prior-ranges coverage merge falls back to
  the legacy flat dir so pre-namespacing coverage still merges forward.

Verified: C and Python tags both resolve to win-x64 on this host; clean
rebuild; the 16 existing flat-layout Tomba DLLs remain findable.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 12:52:29 -07:00
..