diff options
| author | Archez <Archez@users.noreply.github.com> | 2024-02-20 09:38:10 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-20 08:38:10 -0600 |
| commit | ef9fc0a9ec8716201dfaeb2d28d059171a066b7a (patch) | |
| tree | 0cdcb523aa0394f765647270a2c9f59ed7563b70 /soh/src/code | |
| parent | 19af4481c08d44fe4bff85eb4662bfb559c4dbfb (diff) | |
fix endianess issue with camera setting data (#3950)
Diffstat (limited to 'soh/src/code')
| -rw-r--r-- | soh/src/code/z_camera_data.inc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/soh/src/code/z_camera_data.inc b/soh/src/code/z_camera_data.inc index b9e0ba864..90b1874c7 100644 --- a/soh/src/code/z_camera_data.inc +++ b/soh/src/code/z_camera_data.inc @@ -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; |
