benilla-re systems structs docs

s_widescreenCVar

global · console

Address
0xc4ec08 · 4 bytes, up to 0xc4ec0b
Type
CVar *
Meaning
Holds the record of the widescreen 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.