summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHenny022p <info@henny022.de>2021-03-17 21:02:42 +0100
committerHenny022p <info@henny022.de>2021-03-17 21:02:42 +0100
commit9aa9a44e5206778885cb2f421cd34adf0b637fb1 (patch)
treefdc149f63052901012de9929d6c9588df4487f0f /include
parentc319dc53d3bc67909be7bbe75538d796bc99ddff (diff)
port m4a
Diffstat (limited to 'include')
-rw-r--r--include/gba/m4a_internal.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/gba/m4a_internal.h b/include/gba/m4a_internal.h
index 05a47859..89c76157 100644
--- a/include/gba/m4a_internal.h
+++ b/include/gba/m4a_internal.h
@@ -98,7 +98,7 @@ struct CgbChannel {
u8 sw;
u32 fr;
u32* wp;
- u32 cp;
+ u32* cp;
u32 tp;
u32 pp;
u32 np;
@@ -171,17 +171,17 @@ struct SoundInfo {
s32 pcmFreq;
s32 divFreq;
struct CgbChannel* cgbChans;
- u32 func;
- u32 intp;
+ void* func;
+ void* intp;
void (*CgbSound)(void);
void (*CgbOscOff)(u8);
u32 (*MidiKeyToCgbFreq)(u8, u8, u8);
- u32 MPlayJumpTable;
+ void* MPlayJumpTable;
void* plynote;
void (*ExtVolPit)(void);
u8 gap2[16];
struct SoundChannel chans[MAX_DIRECTSOUND_CHANNELS];
- s8 pcmBuffer[PCM_DMA_BUF_SIZE * 2];
+ s8 pcmBuffer[PCM_DMA_BUF_SIZE];
};
struct SongHeader {
@@ -272,8 +272,8 @@ struct MusicPlayerInfo {
struct MusicPlayerTrack* tracks;
struct ToneData* tone;
u32 ident;
- u32 func;
- u32 intp;
+ u32* func;
+ u32* intp;
};
struct MusicPlayer {