Diff for /np2/win9x/dialog/d_sound.cpp between versions 1.10 and 1.13

version 1.10, 2003/11/21 06:51:14 version 1.13, 2004/03/26 09:29:00
Line 908  static LRESULT CALLBACK PAD1optDlgProc(H Line 908  static LRESULT CALLBACK PAD1optDlgProc(H
                                         renewal |= checkbtnres_store(hWnd, pad1opt + i);                                          renewal |= checkbtnres_store(hWnd, pad1opt + i);
                                 }                                  }
                                 if (renewal) {                                  if (renewal) {
                                         joy_init();                                          joymng_initialize();
                                         sysmng_update(SYS_UPDATECFG);                                          sysmng_update(SYS_UPDATECFG);
                                 }                                  }
                                 return(TRUE);                                  return(TRUE);
Line 926  void dialog_sndopt(HWND hWnd) { Line 926  void dialog_sndopt(HWND hWnd) {
         HINSTANCE               hinst;          HINSTANCE               hinst;
         PROPSHEETPAGE   psp;          PROPSHEETPAGE   psp;
         PROPSHEETHEADER psh;          PROPSHEETHEADER psh;
         HPROPSHEETPAGE  hpsp[6];                                                                                // ver0.29          HPROPSHEETPAGE  hpsp[6];
   
         hinst = (HINSTANCE)GetWindowLong(hWnd, GWL_HINSTANCE);          hinst = (HINSTANCE)GetWindowLong(hWnd, GWL_HINSTANCE);
   
Line 1001  void dialog_s98(HWND hWnd) { Line 1001  void dialog_s98(HWND hWnd) {
         xmenu_sets98logging(check);          xmenu_sets98logging(check);
 }  }
   
   
   // ----
   
   #if defined(SUPPORT_WAVEREC)
   static const char wrui_file[] = "NP2_%04d.WAV";
   static const char wrui_title[] = "Save as Sound";
   static const char wrui_ext[] = "WAV";
   static const char wrui_filter[] = "Wave files (*.wav)\0*.wav\0";
   static const FILESEL wrui = {wrui_title, wrui_ext, wrui_filter, 1};
   
   void dialog_waverec(HWND hWnd) {
   
           BYTE    check;
           char    path[MAX_PATH];
   
           check = FALSE;
           sound_recstop();
           file_cpyname(path, bmpfilefolder, sizeof(path));
           file_cutname(path);
           file_catname(path, wrui_file, sizeof(path));
           if ((dlgs_selectwritenum(hWnd, &wrui, path, sizeof(path))) &&
                   (sound_recstart(path) == SUCCESS)) {
                   file_cpyname(bmpfilefolder, path, sizeof(bmpfilefolder));
                   sysmng_update(SYS_UPDATEOSCFG);
                   check = TRUE;
           }
           xmenu_setwaverec(check);
   }
   #endif
   

Removed from v.1.10  
changed lines
  Added in v.1.13


RetroPC.NET-CVS <cvs@retropc.net>