Give RivaTuner's hold the pacer's one ceiling, frame_step_ceiling_ns, which Reflex's hold also keeps, in place of a second copy of its value in frame_step_cap_ns.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
chrg6
2026-11-13 20:14:10 -05:00
parent 1ae00ed802
commit 3def368774

View File

@@ -345,7 +345,7 @@ uint64_t frame_step_cap_ns(void) {
paced_hz = hz;
rtss_limit_want(rtss_out ? rtss_out : play_mhz);
return rtss_pace_period(rtss_limit_active(), movie_hz, kern_now_ns(), gfx_window_hosted_ns(),
(uint64_t)(1e9 / hz + 0.5), (uint64_t)(1e9 / LIMIT_FREE_MAX_HZ + 0.5));
(uint64_t)(1e9 / hz + 0.5), frame_step_ceiling_ns());
}
// The limit as it is set, for the performance overlay: the setting, the monitor's rate for "display", 60 at