GxDevSetGamma
function · gx · orchestration
- Address
0x589c00· 22 bytes, up to0x589c15- Signature
void __stdcall (float gamma)- Meaning
- Calls the device's slot +0x34 with a gamma value
- Confidence
- verified, proof one
- Finding
- gx/device#gamma-setting
Finding: Gamma setting in gx: the device
ClientRegisterConsoleCommands registers Gamma with the callback 0x4034d0. It reads the new
value with SStrToFloat and, when the DesktopGamma record is registered and its integer value is
0, passes the float to 0x589c00, which calls slot +0x34 of the device in s_gxDevice: the
working ramp is rebuilt from that gamma (Gamma ramp). With DesktopGamma set the value is kept and
not applied. It returns 1 either way.
The derivation is in the doc.
Callers 2
- GammaCallback client
- DesktopGammaCallback client
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.