benilla-re systems structs docs

GxResolutionCallback

function · console · primitive

Address
0x63aa00 · 936 bytes, up to 0x63ada7
Signature
uint8_t __thiscall (void *this, const char *value, void *arg)
Meaning
Accepts a width x height text found in the permitted list and stores the size in the working format
Confidence
verified, proof one
Finding
console/display#resolution
Test
console::resolution_validate_difftest

Finding: Resolution in console: display

gxResolution accepts <w>x<h> (any separator character between the numbers: the scan is %d%c%d) when it is in a list. With widescreen on, the list is the device's modes with w / h ≥ 1.248, w ≥ 640 and h ≥ 480, a mode equal to the previous one skipped; with it off, or when that list is empty, it is 640 × 480, 800 × 600, 1024 × 768, 1152 × 864, 1280 × 960, 1280 × 1024 and 1600 × 1200. An accepted size is stored in the record (+0x10, +0x14); a rejected one writes invalid resolution, must be one of and the list, a new line after 100 characters.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 8

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