diff options
author | Diegoisawesome <Diegoisawesome@users.noreply.github.com> | 2017-11-27 13:34:15 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-27 13:34:15 -0600 |
commit | 64e648098870bbae6f28ede1e391d0bacab60ffa (patch) | |
tree | 116e6a90c275191d25b9b892fac3851e3674e580 /src/m4a_4.c | |
parent | 1e4f12e6fa9e3b22d4f1a60ca69313b5dec0ca38 (diff) | |
parent | 237261e193d75addf47fc0736b2d9ed10c8d3195 (diff) |
Merge pull request #116 from DizzyEggg/decompile_berry_blender
Decompile berry blender
Diffstat (limited to 'src/m4a_4.c')
-rw-r--r-- | src/m4a_4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/m4a_4.c b/src/m4a_4.c index 99195ec00..e645fbef5 100644 --- a/src/m4a_4.c +++ b/src/m4a_4.c @@ -45,7 +45,7 @@ void m4aMPlayVolumeControl(struct MusicPlayerInfo *mplayInfo, u16 trackBits, u16 mplayInfo->ident = ID_NUMBER; } -void m4aMPlayPitchControl(struct MusicPlayerInfo *mplayInfo, u16 trackBits, u16 pitch) +void m4aMPlayPitchControl(struct MusicPlayerInfo *mplayInfo, u16 trackBits, s16 pitch) { s32 i; u32 bit; @@ -66,7 +66,7 @@ void m4aMPlayPitchControl(struct MusicPlayerInfo *mplayInfo, u16 trackBits, u16 { if (track->flags & MPT_FLG_EXIST) { - track->keyShiftX = (s16)pitch >> 8; + track->keyShiftX = pitch >> 8; track->pitX = pitch; track->flags |= MPT_FLG_PITCHG; } |