Skip to content
Permalink
Browse files

fix warning and use current i variable than misuse same variable

Oops...
  • Loading branch information...
RadWolfie committed Jul 9, 2019
1 parent a06341e commit b4b9f187696f00e3dd700eb4198f27b03ff039ad
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/hle/DSOUND/DirectSound/DirectSoundInline.hpp
@@ -253,7 +253,7 @@ inline void GenerateMixBinDefault(
// If format is PCM/XADPCM, then use stereo mixbin as default.
if (lpwfxFormat->wFormatTag != WAVE_FORMAT_EXTENSIBLE) {
counter = 2;
for (int i = 0; i < counter; i++) {
for (i = 0; i < counter; i++) {
xb_mixbinArray[i].dwMixBin = i;
xb_mixbinArray[i].lVolume = 0;
}

0 comments on commit b4b9f18

Please sign in to comment.
You can’t perform that action at this time.