mirror of
https://github.com/pret/pmd-sky.git
synced 2026-09-29 05:41:47 -05:00
The eleven handlers decompiled in the two previous commits used (position, seq, track, channel). The handlers already landed in lib/DSE/src/main_02071A98.c, which are the same dispatch family reached from the same SMD_EVENTS_FUN_TABLE, use (ptr_next_byte, sequence, track, channel). This renames the arm9 ones to match so the family reads consistently, and follows the existing pointer spelling for the sub-loop local. Parameter names do not affect code generation; the rebuild below is to confirm that rather than to assume it. No comments are added to any pmd-sky file. Authored by Claude (Opus 5) under human direction. Confirmed by a matching build: build/pmdsky.us/pmdsky.us.nds: OK. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
19 lines
1.2 KiB
C
19 lines
1.2 KiB
C
#ifndef PMDSKY_MAIN_0207191C_H
|
|
#define PMDSKY_MAIN_0207191C_H
|
|
|
|
#include "dse.h"
|
|
|
|
s32 DseVoice_CountNumActiveInChannel(struct dse_channel* channel);
|
|
void DseChannel_DeallocateVoices(struct dse_channel* channel);
|
|
|
|
u8* DseTrackEvent_Invalid(u8 *ptr_next_byte, struct dse_sequence *sequence, struct dse_track *track, struct dse_channel *channel);
|
|
u8* DseTrackEvent_WaitSame(u8 *ptr_next_byte, struct dse_sequence *sequence, struct dse_track *track, struct dse_channel *channel);
|
|
u8* DseTrackEvent_WaitDelta(u8 *ptr_next_byte, struct dse_sequence *sequence, struct dse_track *track, struct dse_channel *channel);
|
|
u8* DseTrackEvent_Wait8(u8 *ptr_next_byte, struct dse_sequence *sequence, struct dse_track *track, struct dse_channel *channel);
|
|
u8* DseTrackEvent_Wait16(u8 *ptr_next_byte, struct dse_sequence *sequence, struct dse_track *track, struct dse_channel *channel);
|
|
u8* DseTrackEvent_Wait24(u8 *ptr_next_byte, struct dse_sequence *sequence, struct dse_track *track, struct dse_channel *channel);
|
|
u8* DseTrackEvent_WaitUntilFadeout(u8 *ptr_next_byte, struct dse_sequence *sequence, struct dse_track *track, struct dse_channel *channel);
|
|
u8* DseTrackEvent_EndTrack(u8 *ptr_next_byte, struct dse_sequence *sequence, struct dse_track *track, struct dse_channel *channel);
|
|
|
|
#endif
|