mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-27 02:32:02 -04:00
f2cc2ea2c6
[widescreen] scene_predicate_per_frame (PSX_WS_SCENE_CACHE=0/1) evaluates a mod's world-scene predicate once per VBlank instead of on every primitive and GTE call; reset, savestate load and a new predicate invalidate it. Default off (the answer may trail a scene change by one frame). R4 (release, M4, race, macOS sample): gpu_ws_present_native_43 2.4 % -> 0.3 % of the emulation thread (r4_in_race 2.2 % -> 0). frame_fingerprint A/B, off vs on: 9000 frames from boot (intro, title, attract) and 3600 race frames from a savestate, every column identical, 0 dispatch misses. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>