s_formatNames
global · gx
- Address
0x85ad54· 32 bytes, up to0x85ad73- Type
char *[8]- Meaning
- Holds the names of the four colour formats and the four depth formats the device log prints
- 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.