Files
PS5_RetroArch/sce_sys
MihawkandClaude Opus 5.5 bfc2bf9b55 Present at 120 Hz by default, fall back to 60 Hz, keep cores at speed
The title declares high-frame-rate output (attribute3 0x80040), so the
current driver offers and selects 3840x2160 at 119.88 Hz. Patch 0084
picks the largest display mode and then the highest refresh; 0085 makes
video_refresh_rate follow the mode the display actually got and turns a
saved swap interval of 1 automatic above 100 Hz, so a 60 FPS core shows
each frame for two vblanks. Where 120 Hz is not offered, the same logic
lands on 59.94 Hz with interval 1. main.cpp drops --menu when args.txt
launches content, so a run can measure a core unattended.

Console: FCEUmm ran 1,800 frames in ~30 s at 119.88 Hz (1,199 presents
per 10 s) and at 59.94 Hz without the metadata (600 per 10 s): correct
speed both ways. Evidence output-120hz, output-60hz-fallback. verify.sh
PASS; patch count 185 -> 188 for 0084's two edits and 0085.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 19:39:09 -04:00
..