diff options
author | Michael Panzlaff <michael.panzlaff@fau.de> | 2021-06-24 15:55:08 +0200 |
---|---|---|
committer | Michael Panzlaff <michael.panzlaff@fau.de> | 2021-06-24 15:57:31 +0200 |
commit | 9ff579dac825bf4afa7c9fb4ea3e5a1ffb2d996d (patch) | |
tree | 6713a9ca059fdd4f97d113297ae1b451b50da2fd /arm9/lib/include/SND_work.h | |
parent | ac7337cc6410f96eb743c46f30c195b0da805ae5 (diff) |
cleanup header includes and orders
Not complete, but a good start.
Diffstat (limited to 'arm9/lib/include/SND_work.h')
-rw-r--r-- | arm9/lib/include/SND_work.h | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/arm9/lib/include/SND_work.h b/arm9/lib/include/SND_work.h index dec2bd71..a8a3d62b 100644 --- a/arm9/lib/include/SND_work.h +++ b/arm9/lib/include/SND_work.h @@ -4,31 +4,7 @@ #include "global.h" #include "SND_main.h" -#include "SND_alarm.h" - -#define SND_PLAYER_COUNT 16 -#define SND_CHANNEL_COUNT 16 -#define SND_TRACK_COUNT 32 - -struct SNDWork { - struct SNDExChannel channels[SND_CHANNEL_COUNT]; // 0x00 - struct SNDPlayer players[SND_PLAYER_COUNT]; // 0x540 - struct SNDTrack tracks[SND_TRACK_COUNT]; // 0x780 - struct SNDAlarm alarms[SND_ALARM_COUNT]; // 0xF80 -}; // size = 0x1180 - -struct SNDSharedWork { - u32 finishedCommandTag; // 0x0 - u32 playerStatus; // 0x4 - u16 channelStatus; // 0x8 - u16 captureStatus; // 0xA - u8 unk_C[0x14]; // 0xC - struct { - s16 localVars[16]; // local 0x0 - u32 tickCounter; // local 0x20 - } players[SND_PLAYER_COUNT]; // 0x20 - s16 globalVars[16]; // 0x260 -}; // size = 0x280 +#include "nitro/SND_work_shared.h" struct SNDDriverInfo { struct SNDWork work; // 0x0000 |