benilla-re systems structs docs

s_hardwareRow

global · console

Address
0xc4e6e4 · 4 bytes, up to 0xc4e6e7
Type
const void *
Meaning
Points at the matched hardware row, whose +0x48, +0x4c, +0x50 and +0x54 words the start-up reads
Confidence
verified, proof one
Finding
console/display#start-up-record

Finding: Start-up record in console: display

ConsoleDeviceInitialize (0x63a230, window title in ecx) registers hwDetect, matches the hardware (0x641260), registers the display CVars and gxRestart, lists the device's modes (0x5899c0) and builds the working record. Detection applies for -hwdetect, a nonzero hwDetect or a hardware change: the record is the hardware row's default format with the window and maximise flags of their CVars, and hwDetect becomes 0. Otherwise the record is what the callbacks stored. It ends with the override strings, the window title, the video options (cvar/options) and, when detection applied, the quality CVars (0x639a60).

The derivation is in the doc.