ADPCM parameter copy fix

This commit is contained in:
Jack Andersen 2016-05-29 12:57:02 -10:00
parent 2fda4c0a51
commit d26a550ef8
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ AudioGroupSampleDirectory::AudioGroupSampleDirectory(const unsigned char* data,
const AudioGroupSampleDirectory::ADPCMParms* adpcm = const AudioGroupSampleDirectory::ADPCMParms* adpcm =
reinterpret_cast<const AudioGroupSampleDirectory::ADPCMParms*>(data + reinterpret_cast<const AudioGroupSampleDirectory::ADPCMParms*>(data +
store.first.m_adpcmParmOffset); store.first.m_adpcmParmOffset);
store.second = *adpcm; store.second.dsp = adpcm->dsp;
store.second.swapBigDSP(); store.second.swapBigDSP();
} }