Lines 487-493
Link Here
|
487 |
|
487 |
|
488 |
/* Offset 0000 is always 24 00 00 00 ? */ |
488 |
/* Offset 0000 is always 24 00 00 00 ? */ |
489 |
/* Offset 0004 contains the OS version, for example 03 00 = 3.0 */ |
489 |
/* Offset 0004 contains the OS version, for example 03 00 = 3.0 */ |
490 |
client->os_version = letoh16(*(uint16_t*)(buffer + 0x04)); |
490 |
client->os_version = *(uint8_t*)(buffer + 0x04); |
491 |
/* Offset 0006 contains the build number, for example 0x2ba3 = 11171 */ |
491 |
/* Offset 0006 contains the build number, for example 0x2ba3 = 11171 */ |
492 |
client->build_number = letoh16(*(uint16_t*)(buffer + 0x06)); |
492 |
client->build_number = letoh16(*(uint16_t*)(buffer + 0x06)); |
493 |
/* Offset 0008 contains the processor type, for example 0x0a11 = 2577 */ |
493 |
/* Offset 0008 contains the processor type, for example 0x0a11 = 2577 */ |