benilla-re systems structs docs

s_gxResolutionCVar

global · console

Address
0xc4eac4 · 4 bytes, up to 0xc4eac7
Type
CVar *
Meaning
Holds the record of the gxResolution setting
Confidence
verified, proof one
Finding
console/display#display-cvars

Finding: Display CVars in console: display

ConsoleDeviceInitialize registers hwDetect (default 1), and 0x63a720 registers 16 more, all in category 1: widescreen (1), and with flags 3 gxColorBits (16), gxDepthBits (16), gxResolution (640x480), gxRefresh (75), gxTripleBuffer (0), gxApi (direct3d), gxVSync (1), gxWindow, gxAspect (1), gxMaximize, gxCursor (1), gxMultisample, gxMultisampleQuality (0.0), gxFixLag and gxOverride (empty). gxWindow and gxMaximize default to 1 for the locale zhCN and 0 otherwise. gxMultisample and gxFixLag have no literal default: each formats the multisample or fix-lag column of the matched VideoHardware.dbc row (+0x54 and +0x50).

The derivation is in the doc.