benilla-re systems structs docs

s_resolutionListData

global · ui

Address
0xb4b3d8 · 4 bytes, up to 0xb4b3db
Type
void *
Meaning
Points to the screen resolution list, 8-byte width and height pairs
Confidence
verified, proof one
Finding
ui/videoverbs#the-resolution-list

Finding: The resolution list in ui: the video option verbs

The list of {width, height} pairs (8 bytes each) is built once, on first use by any of the four resolution verbs, and never rebuilt. With the widescreen option (default 1) set, the connected display's modes are taken in ascending pixel area and kept when width over height is at least 1.248, the width at least 800 and the height at least 600, skipping a pair equal to the last one kept. With the option clear, missing, or no mode surviving, the list is 800x600, 1024x768, 1280x1024 and 1600x1200, never mixed with kept modes.

The derivation is in the doc.