mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-27 02:32:02 -04:00
7cbe03b148
mod_session_baseline_test drives only the header helper. The source guard checked that main.cpp called it, not how, so a local baseline (every call a first call: a rematch restores nothing and skips the later-call resets), clearing g_mod_native_vblank_rate before the call, or passing a constant pacing flag all passed. The guard now requires one file-scope baseline that only the helper's call uses, the exact call (&g_mod_owned_baseline, the live pacing flag), nothing but the scalar copy-in before it, each copy-out once after it, the pacing flag cleared only after the call, and the native pacing rate and 16:9 cap resets, each checked against its file-scope initialiser. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>