Ensure Forza Dash telemetry structure is packed
This commit is contained in:
parent
8a6f6b7b6b
commit
de4802bf3b
1 changed files with 5 additions and 0 deletions
|
@ -4,6 +4,9 @@
|
|||
#include <inttypes.h>
|
||||
#include <hexagram/types.h>
|
||||
|
||||
#pragma pack(push)
|
||||
#pragma pack(1)
|
||||
|
||||
typedef struct _hexagram_telemetry_dash_car {
|
||||
int32_t id,
|
||||
class,
|
||||
|
@ -75,4 +78,6 @@ typedef struct _hexagram_telemetry_dash_packet {
|
|||
hexagram_telemetry_dash_race race;
|
||||
} hexagram_telemetry_dash_packet;
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#endif /* _HEXAGRAM_TELEMETRY_DASH_H */
|
||||
|
|
Loading…
Add table
Reference in a new issue