--- np2/win9x/soundmng.cpp 2003/11/24 07:40:02 1.5 +++ np2/win9x/soundmng.cpp 2003/11/28 08:01:33 1.6 @@ -74,9 +74,6 @@ UINT soundmng_create(UINT rate, UINT ms) UINT samples; DSBUFFERDESC dsbdesc; PCMWAVEFORMAT pcmwf; -#if defined(VERMOUTH_LIB) - UINT num; -#endif if ((pDSound == NULL) || (rate != 11025) && (rate != 22050) && (rate != 44100)) { @@ -118,10 +115,7 @@ UINT soundmng_create(UINT rate, UINT ms) #if defined(VERMOUTH_LIB) vermouth_module = midimod_create(rate); - for (num=0; num<128; num++) { - midimod_loadprogram(vermouth_module, num); - midimod_loadrhythm(vermouth_module, num); - } + midimod_loadall(vermouth_module); #endif dsstreamevent = (BYTE)-1; soundmng_reset();