From a241e77f781fcbdad7408af0b60ea41d616d2a94 Mon Sep 17 00:00:00 2001 From: Sonic Dreamcaster Date: Thu, 30 Jan 2025 17:59:15 -0300 Subject: endianess fixes and tester --- include/sf64audio_provisional.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'include') diff --git a/include/sf64audio_provisional.h b/include/sf64audio_provisional.h index a7c90fe3..952af4dc 100644 --- a/include/sf64audio_provisional.h +++ b/include/sf64audio_provisional.h @@ -377,11 +377,10 @@ typedef struct { typedef struct { /* 0x00 */ union { struct A { - /* 0x00 */ u8 unused : 1; - /* 0x00 */ u8 hang : 1; - /* 0x00 */ u8 decay : 1; /* 0x00 */ u8 release : 1; - /* 0x00 */ + /* 0x00 */ u8 decay : 1; + /* 0x00 */ u8 hang : 1; + /* 0x00 */ u8 unused : 1; } s; /* 0x00 */ u8 asByte; } action; @@ -432,9 +431,10 @@ typedef struct SequenceChannel { /* 0x00 */ u8 unused : 1; union { struct { - /* 0x01 */ u8 freqMod : 1; - /* 0x01 */ u8 volume : 1; - /* 0x01 */ u8 pan : 1; + /* 0x4 */ char pad_4 : 1; + /* 0x3 */ u8 pan : 1; + /* 0x2 */ u8 volume : 1; + /* 0x1 */ u8 freqMod : 1; } s; /* 0x01 */ u8 asByte; } changes; -- cgit v1.2.3