Diff for /np2/win9xc/dialog/d_disk.cpp between versions 1.1 and 1.2

version 1.1, 2003/10/16 17:59:29 version 1.2, 2004/01/22 01:10:05
Line 1 Line 1
 #include        "compiler.h"  #include        "compiler.h"
   #include        "strres.h"
 #include        "resource.h"  #include        "resource.h"
 #include        "strres.h"  #include        "strres.h"
 #include        "np2.h"  #include        "np2.h"
Line 64  void dialog_changehdd(HWND hWnd, BYTE dr Line 65  void dialog_changehdd(HWND hWnd, BYTE dr
 const char *p;  const char *p;
   
         if (drv < 2) {          if (drv < 2) {
                 p = dlgs_selectfile(hWnd, &hddui, np2cfg.hddfile[drv],                  p = dlgs_selectfile(hWnd, &hddui, np2cfg.sasihdd[drv],
                                                                         hddfolder, sizeof(hddfolder), NULL);                                                                          hddfolder, sizeof(hddfolder), NULL);
                 if (p != NULL) {                  if (p != NULL) {
                         diskdrv_sethdd(drv, p);                          diskdrv_sethdd(drv, p);
Line 211  const char  *p; Line 212  const char  *p;
                 hddsize = 0;                  hddsize = 0;
                 if (DialogBox(hinst, MAKEINTRESOURCE(IDD_NEWHDDDISK),                  if (DialogBox(hinst, MAKEINTRESOURCE(IDD_NEWHDDDISK),
                                                                         hWnd, (DLGPROC)NewHddDlgProc) == IDOK) {                                                                          hWnd, (DLGPROC)NewHddDlgProc) == IDOK) {
                         newdisk_hdd(p, hddsize);        // (hddsize < 5) || (hddsize > 256)                          newdisk_thd(p, hddsize);        // (hddsize < 5) || (hddsize > 256)
                 }                  }
         }          }
         else {          else {

Removed from v.1.1  
changed lines
  Added in v.1.2


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