mirror of
https://github.com/HarbourMasters/Starship
synced 2026-06-22 01:06:34 -04:00
endianess fixes and tester
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user