mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-15 19:19:58 -04:00
An RTSS without FramerateLimitDenominator gets a fractional limit rounded to whole frames (apply: 59.94 becomes 60), but the line after the write named the rate the game asked for: "limits to 59.940 fps" while the profile held 60. A play-test log would hide that RTSS limits above a 59.94 Hz monitor. When the written limit over its denominator differs from the asked rate, the line now names both: "limits to 60/1 (60.000 fps; the game asked 59.940)". What is written does not change. tests/rtss_worker_check.c gains round_logged (an RTSS with the denominator: 59940/1000, logged as 59.940 fps) and round_logged_whole (without it: 59.94 and 143.856 Hz logged as 60/1 and 144/1, a whole 60 as before). The second failed before the change and passes after it; a compile of rtss_limit.c with -Wall passes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
24 KiB
24 KiB