diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2017-11-27 20:07:33 -0500 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2017-11-27 20:07:33 -0500 |
commit | 1ac177723de817a85533adc3e984425d3ab86e00 (patch) | |
tree | 3f5ce54362ad9a8c75e21c52f78ce3b4bcd460f2 /src/m4a_4.c | |
parent | eff1ad330031633b2a28f2b9e8bc8f5e5258826a (diff) | |
parent | 18c6b8efc21a509121ab4d6f5b9c8523689d27a2 (diff) |
Merge branch 'master' into field_poison
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; } |