s_minFormatSize
global · gx
- Address
0xc0ef64· 8 bytes, up to0xc0ef6b- Type
uint32_t[2]- Meaning
- Holds the smallest device format width and height, 320 and 240
- Confidence
- verified, proof one
- Finding
- gx/device#base-format-setter
Finding: Base format setter in gx: the device
CGxDevice::DeviceSetFormat(format), slot +0x28, copies the 14-dword format to +0x204. When
both its width and its height are below the minimum, 320 × 240, it raises them to it; one below
alone is kept. With the format's constrain-aspect byte set it stores width / height as the aspect
ratio 0xc0ef60, and 0 otherwise, and it returns 1. Each backend's setter calls it once its
window and its context or device are made. The two window procedures' sizing helpers read the ratio and the minimum.
The derivation is in the doc.