mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-28 12:22:20 -05:00
fix endianess issue with camera setting data (#3950)
This commit is contained in:
parent
19af4481c0
commit
ef9fc0a9ec
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user