Skip to main content
← PSoXide SDK guides and examples · SDK 80d1c329e977 · All Cargo features enabled; check feature gates before use.

SETTLE_VBLANKS

Constant SETTLE_VBLANKS 

Source
pub const SETTLE_VBLANKS: u32 = 8;
Expand description

Video periods the card is left alone after each frame write, while it commits to flash. The blocking path (HardwareCard::write_frame) spins 400,000 status reads there, five to six video periods in the emulator and at least two by the reference drivers’ rule; a job keeps the same wait, rounded up, by counting vblanks, so a game can spend it drawing instead. A job’s wait can be changed with CardJob::with_settle_vblanks.