--- np2/win9x/dialog/dialogs.cpp 2005/02/09 20:11:36 1.6 +++ np2/win9x/dialog/dialogs.cpp 2005/03/02 04:28:09 1.7 @@ -4,6 +4,9 @@ #include "dosio.h" #include "commng.h" #include "dialogs.h" +#if defined(MT32SOUND_DLL) +#include "mt32snd.h" +#endif const OEMCHAR str_nc[] = OEMTEXT("N/C"); @@ -184,6 +187,16 @@ void dlgs_setlistmidiout(HWND hWnd, UINT } num++; #endif +#if defined(MT32SOUND_DLL) + if (mt32sound_isenable()) { + SendMessage(wnd, CB_INSERTSTRING, (WPARAM)num, + (LPARAM)cmmidi_mt32sound); + if (!milstr_cmp(defname, cmmidi_mt32sound)) { + defcur = num; + } + num++; + } +#endif for (i=0; i