endianess fixes and tester

This commit is contained in:
Sonic Dreamcaster
2025-01-30 17:59:15 -03:00
parent d88cc5f58d
commit a241e77f78
2 changed files with 40 additions and 13 deletions
+7 -7
View File
@@ -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;