1
0
Fork 0

Keep GCC happy!

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1914
This commit is contained in:
Sjoerd van der Berg 2004-08-23 09:18:58 +00:00
parent 609ed8b02d
commit dbde36bfe1

View file

@ -166,10 +166,10 @@ INLINE void MixerChannel::AddSamples(Bitu len,void * data) {
Bit16s * data16=(Bit16s*)data;
Bitu mixpos=mixer.pos+done;
freq_index&=MIXER_REMAIN;
Bitu pos=0;
Bitu pos=0;Bitu new_pos;
goto thestart;
while (1) {
Bitu new_pos=freq_index >> MIXER_SHIFT;
new_pos=freq_index >> MIXER_SHIFT;
if (pos<new_pos) {
last[0]+=diff[0];
if (stereo) last[1]+=diff[1];