benilla-re systems structs docs

InitResolutionList

function · ui · orchestration

Address
0x48bb70 · 23 bytes, up to 0x48bb86
Signature
void __cdecl (void)
Meaning
Zeroes the four cells of the screen resolution list
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.

Callers 1

Callees 0

None by a direct call or jump.

Calls and jumps by a bare address, from tables/calls.tsv.