benilla-re systems structs docs

s_stockSizes

global · console

Address
0xc4ea40 · 56 bytes, up to 0xc4ea77
Type
uint32_t[14]
Meaning
Holds the seven stock sizes as width and height pairs, 1600 x 1200 down to 640 x 480
Confidence
verified, proof one
Finding
console/display#format-validation

Finding: Format validation in console: display

0x63a060 makes a record agree with the device's modes. It builds, once, seven stock sizes from 1600 × 1200 down to 640 × 480. If no device mode has the record's width and height, it takes the first stock size smaller in both and searches again, until a mode matches or the list ends. It keeps the record's refresh rate when a mode of that size and format word has it; otherwise it takes the lowest refresh of those modes, or 60 when none, and logs ValidateFormatMonitor(): invalid refresh rate <old>, set to <new>.

The derivation is in the doc.