diff options
author | Michael Panzlaff <michael.panzlaff@fau.de> | 2021-07-07 02:27:19 +0200 |
---|---|---|
committer | Michael Panzlaff <michael.panzlaff@fau.de> | 2021-08-25 18:03:47 +0200 |
commit | 6fda29badc3e915d019ab6f6c1cddc19d18614b2 (patch) | |
tree | afd1c99f0dca88ae0d3ac2f265e729ff7531bfa2 /include | |
parent | c607834736e32183b56150e478f90ee7edc233af (diff) |
arm7: decompile SND_channel
Diffstat (limited to 'include')
-rw-r--r-- | include/nitro/SND_exChannel_shared.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/nitro/SND_exChannel_shared.h b/include/nitro/SND_exChannel_shared.h index 386e6ac8..c7743cd6 100644 --- a/include/nitro/SND_exChannel_shared.h +++ b/include/nitro/SND_exChannel_shared.h @@ -45,6 +45,10 @@ struct SNDLfo { u16 counter; // 0x8 }; // size = 0xA +struct SNDExChannel; + +typedef void (*SNDExChannelCallback)(struct SNDExChannel *chn, int status, void *userData); + struct SNDExChannel { u8 id; // 0x00 u8 type; // 0x01 @@ -95,7 +99,7 @@ struct SNDExChannel { s32 dutyCycle; }; // 0x44 - void (*callback)(struct SNDExChannel *chn, u32 status, void *userData); // 0x48 + SNDExChannelCallback callback; // 0x48 void *callbackUserData; // 0x4C struct SNDExChannel *channelLLNext; // 0x50 |