mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-27 18:52:11 -04:00
0acc6f2dbb
Adds a phys-keyed blocklist in overlay_loader.c that forces a named overlay function through the sanctioned dirty-RAM interpreter (it still RUNS — not skip/stub/HLE), as if s_native_exec were off but for that one function only. Exposed as the `overlay_native_block` debug command (add/clear/report). This is the localization tool for native<->interp divergences (e.g. the Tomba 2 FMV freeze): binary-search which compiled overlay function's native execution flips the bug, without rebuilding or losing candidate visibility. Runtime/tool-only. Used it to localize the Tomba 2 end-of-Whoopee-Camp FMV freeze to func_80050B08's OWN native body (blocking it passes the freeze with callees still native; all 33 jal targets + continuations verified clean). Narrowed to the main-loop region with a strong interior-entry suspect at 0x80050CE8. Findings in docs/TOMBA2_NATIVE_FMV_FREEZE.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>