fix endianess issue with camera setting data (#3950)

This commit is contained in:
Archez 2024-02-20 09:38:10 -05:00 committed by GitHub
parent 19af4481c0
commit ef9fc0a9ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,9 +16,11 @@ typedef struct {
union { union {
u32 unk_00; u32 unk_00;
struct { struct {
u32 unk_bit0 : 1; // SoH [Port] These bitfield values are unused and led to shifting in validModes for little endian systems
u32 unk_bit1 : 1; // Removing those so that validModes can be a complete 32 bit value
u32 validModes : 30; // u32 unk_bit0 : 1;
// u32 unk_bit1 : 1;
u32 validModes;
}; };
}; };
CameraMode* cameraModes; CameraMode* cameraModes;