From c0244a9d6f657934313e03f67a4b9fa9d93d34b7 Mon Sep 17 00:00:00 2001 From: "1992414357@qq.com" <1992414357@qq.com> Date: Wed, 28 May 2025 09:11:31 +0800 Subject: . --- core/src/pad_data/game_profile.rs | 1 + core/src/pad_data/pad_player_info.rs | 1 + 2 files changed, 2 insertions(+) (limited to 'core/src/pad_data') diff --git a/core/src/pad_data/game_profile.rs b/core/src/pad_data/game_profile.rs index 8d6e279..cd2a175 100644 --- a/core/src/pad_data/game_profile.rs +++ b/core/src/pad_data/game_profile.rs @@ -3,6 +3,7 @@ pub mod game_profile { use bincode::{Decode, Encode}; use serde::{Deserialize, Serialize}; + #[repr(C)] #[derive(Encode, Decode, Serialize, Deserialize, PartialEq, Debug)] pub struct GameProfile { diff --git a/core/src/pad_data/pad_player_info.rs b/core/src/pad_data/pad_player_info.rs index ab0f6fd..1c8b7e0 100644 --- a/core/src/pad_data/pad_player_info.rs +++ b/core/src/pad_data/pad_player_info.rs @@ -7,6 +7,7 @@ pub mod nogamepads_player_info { pub const ACCOUNT_HASH_SALT : &str = "Mr.Weicao"; + #[repr(C)] #[derive(Encode, Decode, Serialize, Deserialize, PartialEq, Debug)] -- cgit