s_gxLog
global · gx
- Address
0xc0ef80· 4 bytes, up to0xc0ef83- Type
void *- Meaning
- Holds the device log handle, 0 until the log is open
- Confidence
- verified, proof one
- Finding
- gx/device#device-log
Finding: Device log in gx: the device
The device logs to Logs\gx.log. The console's device start calls 0x58b5e0, which opens the log
once, after creating Logs. Without the log a line is dropped; otherwise it is formatted with vsnprintf into 2 KiB and
written while fewer than 2 MiB (0x200000 bytes) have gone to it, and passed with the prefix
CGxDevice::Log(): to 0x590630, which only returns. The console's device start and the
hardware detection print through 0x58b600 and the device through 0x595e70; both reach
0x595df0, so they act alike. The device logs its caps (0x595e90) and each format
it sets (0x595f40), as Format: W x H Window or Format W x H @ R Fullscreen, with the colour and
depth names and the sample count.
The derivation is in the doc.