Add explicit cast in FetchADPCMData() as in patch from #2752961.

This commit is contained in:
riccardom 2009-04-11 15:09:09 +00:00
parent 37b44bfb60
commit 75843be9c4
1 changed files with 1 additions and 1 deletions

View File

@ -544,7 +544,7 @@ static INLINE void FetchADPCMData(channel_struct *chan, s32 *data)
chan->index = precalcindextbl[chan->index][data4bit & 0x7];
}
chan->lastsampcnt = chan->sampcnt;
chan->lastsampcnt = (int)chan->sampcnt;
#ifdef SPU_INTERPOLATE
*data = Interpolate((s32)chan->pcm16b_last,(s32)chan->pcm16b,chan->sampcnt);