pub fn set_min_flip_vblanks(vblanks: u8)Expand description
Set the presentation cap: the fewest VBlanks between two display flips (0 is treated as 1).
Every program starts at 2 (DEFAULT_MIN_FLIP_VBLANKS, psx_tick::PresentCap::HZ30), so the picture never changes
faster than 30 fps NTSC (25 PAL): a flip a frame finished early waits for its
slot. A game that deliberately targets the full display rate opts out by name,
once at boot:
ⓘ
psx_rt::interrupts::set_min_flip_vblanks(psx_tick::PresentCap::UNCAPPED.min_vblanks());The cap applies to every display flip made through psx-rt: a word queued
with queue_display_control_at_vblank (the handler holds it at the edge
until the cap allows it), a frame kicked by the present queue, and a
DoubleBuffer::swap (which waits, bounded, before the flip). Other display
words (video on or off) are never held. Frames slower than the cap are not
delayed.