benilla-re systems structs docs

GetConfiguredAspect

function · ui · primitive

Address
0x4901e0 · 98 bytes, up to 0x490241
Signature
float __cdecl ()
Meaning
Returns the gxResolution width over height when widescreen is on, else 4/3
Confidence
verified, proof one
Finding
ui/uiscale#the-automatic-scale
Test
ui::glue_4901e0_aspect_ratio

Finding: The automatic scale in ui: The interface scale

With useUiScale off, which is the default, UIParent is not left at 1.0. Its scale is 768 over the window's height when the height is above 768, else 1.0; capped to 0.75·a for an aspect under 4/3; and raised to at least 0.9. It is applied when the display mode is set and when useUiScale is turned off. The result is 0.9 at 1920×1080 and 2560×1440 and 0.96 at 1280×800.

The derivation is in the doc.

Callers 3

Callees 2

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