Use adpcm_history1_32 for consistency

This commit is contained in:
Simon Aarons 2020-08-16 22:57:38 +10:00 committed by GitHub
parent 57cd7c6029
commit ac38e353df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,6 +42,6 @@ void decode_tgc(VGMSTREAMCHANNEL * stream, sample_t * outbuf, int32_t first_samp
if (stream->adpcm_history1_32 > 32767)
stream->adpcm_history1_32 = 32767;
outbuf[sample_count] = stream->adpcm_history1_16;
outbuf[sample_count] = (sample_t)stream->adpcm_history1_32;
}
}