benilla-re systems structs docs

s_refreshRates

global · console

Address
0x8645e0 · 44 bytes, up to 0x86460b
Type
uint32_t[11]
Meaning
Holds the 11 refresh rates gxRefresh accepts: 60 to 200
Confidence
verified, proof one
Finding
console/display#display-callbacks

Finding: Display callbacks in console: display

Each CVar's change callback validates the new text and, when it accepts, writes a field of the working record and prints set pending gxRestart. gxColorBits accepts 16, 24 and 30 (index 0, 1, 3), gxDepthBits 16, 24 and 32 (4, 5, 7), gxRefresh one of 60, 70, 72, 75, 85, 90, 100, 120, 160, 180 and 200, gxTripleBuffer 0 or 1 (stored as 1 or 2), gxApi OpenGL or Direct3D (nothing stored). gxVSync, gxWindow, gxAspect, gxMaximize, gxCursor and gxFixLag store whether the number is nonzero. gxMultisample stores the number clamped to 1 through 16; gxMultisampleQuality clamps to 0 through 1. A rejection writes the reason and returns 0.

The derivation is in the doc.