mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-26 02:11:36 -04:00
dcb63cb570
a0_history had no timestamp, so an upload's timing couldn't be compared against the CD-load timeline. Add frame_stamp (s_frame_count at the upload) to the entry, return it from gpu_get_a0_src, and emit "frame" in the a0_history JSON. This pinned the MMX5 font bug: the (896/832/960,256) font uploads run at frames 1374/1381/1388 reading zero/0x77 garbage, while the CD delivers that buffer run (LBA 10473 -> 0x800D5208..0x800DD208, real data) at frame ~1508 — the upload races ~130 frames ahead of the font's CD load. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>