mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-30 21:32:18 -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 {
|
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user