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 {
u32 unk_00;
struct {
u32 unk_bit0 : 1;
u32 unk_bit1 : 1;
u32 validModes : 30;
// SoH [Port] These bitfield values are unused and led to shifting in validModes for little endian systems
// Removing those so that validModes can be a complete 32 bit value
// u32 unk_bit0 : 1;
// u32 unk_bit1 : 1;
u32 validModes;
};
};
CameraMode* cameraModes;