From de4802bf3b604c1224a800549000c9e9c440ae5c Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Tue, 9 Jan 2024 15:54:27 -0500 Subject: [PATCH] Ensure Forza Dash telemetry structure is packed --- include/hexagram/telemetry/dash.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/hexagram/telemetry/dash.h b/include/hexagram/telemetry/dash.h index 150db64..6e7cce9 100644 --- a/include/hexagram/telemetry/dash.h +++ b/include/hexagram/telemetry/dash.h @@ -4,6 +4,9 @@ #include #include +#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 */