benilla-re systems structs docs

ApplyHardwareQuality

function · console · orchestration

Address
0x639a60 · 276 bytes, up to 0x639b73
Signature
void __cdecl (void)
Meaning
Sets the 16 video option CVars from the hardware quality values
Confidence
verified, proof one
Finding
console/display#restart-and-defaults

Finding: Restart and defaults in console: display

gxRestart (0x639f60) validates the working record, asks the device to switch (0x589be0) and on success keeps the record as the last good one and applies the latched display CVars (0x639ec0). On failure it writes unable to set requested display mode, retries with the last good record (unable to set last good mode), then the second fixed record (unable to set default format), then 640 × 480, and after any retry writes the working record into the CVars (0x639c40). It ends by setting the window title and returns 1. RestoreVideoDefaults (0x639a20) sets the working record to the hardware row's default format, writes it, restarts, and sets the quality CVars with 0x639a60.

The derivation is in the doc.

Callers 2

Callees 3

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