Diff for /np2/statsave.c between versions 1.45 and 1.46

version 1.45, 2005/02/12 12:40:38 version 1.46, 2005/03/05 06:02:28
Line 963  static int flagsave_disk(STFLAGH sfh, co Line 963  static int flagsave_disk(STFLAGH sfh, co
         int             ret;          int             ret;
         UINT8   i;          UINT8   i;
   
         sxsi_flash();          sxsi_allflash();
         ret = STATFLAG_SUCCESS;          ret = STATFLAG_SUCCESS;
         for (i=0; i<4; i++) {          for (i=0; i<4; i++) {
                 ret |= disksave(sfh, fdd_diskname(i), fdd_diskprotect(i));                  ret |= disksave(sfh, fdd_diskname(i), fdd_diskprotect(i));
         }          }
         for (i=0x00; i<0x02; i++) {          for (i=0x00; i<0x02; i++) {
                 ret |= disksave(sfh, sxsi_getname(i), 0);                  ret |= disksave(sfh, sxsi_getfilename(i), 0);
         }          }
         for (i=0x20; i<0x24; i++) {          for (i=0x20; i<0x24; i++) {
                 ret |= disksave(sfh, sxsi_getname(i), 0);                  ret |= disksave(sfh, sxsi_getfilename(i), 0);
         }          }
         (void)tbl;          (void)tbl;
         return(ret);          return(ret);
Line 1020  static int flagcheck_disk(STFLAGH sfh, c Line 1020  static int flagcheck_disk(STFLAGH sfh, c
                 OEMSPRINTF(buf, str_fddx, i+1);                  OEMSPRINTF(buf, str_fddx, i+1);
                 ret |= diskcheck(sfh, buf);                  ret |= diskcheck(sfh, buf);
         }          }
         sxsi_flash();          sxsi_allflash();
         for (i=0; i<2; i++) {          for (i=0; i<2; i++) {
                 OEMSPRINTF(buf, str_sasix, i+1);                  OEMSPRINTF(buf, str_sasix, i+1);
                 ret |= diskcheck(sfh, buf);                  ret |= diskcheck(sfh, buf);
Line 1049  static int flagload_disk(STFLAGH sfh, co Line 1049  static int flagload_disk(STFLAGH sfh, co
         for (i=0x00; i<0x02; i++) {          for (i=0x00; i<0x02; i++) {
                 ret |= statflag_read(sfh, &st, sizeof(st));                  ret |= statflag_read(sfh, &st, sizeof(st));
                 if (st.path[0]) {                  if (st.path[0]) {
                         sxsi_hddopen(i, st.path);                          sxsi_devopen(i, st.path);
                 }                  }
         }          }
         for (i=0x20; i<0x24; i++) {          for (i=0x20; i<0x24; i++) {
                 ret |= statflag_read(sfh, &st, sizeof(st));                  ret |= statflag_read(sfh, &st, sizeof(st));
                 if (st.path[0]) {                  if (st.path[0]) {
                         sxsi_hddopen(i, st.path);                          sxsi_devopen(i, st.path);
                 }                  }
         }          }
         (void)tbl;          (void)tbl;
Line 1353  const SFENTRY *tblterm; Line 1353  const SFENTRY *tblterm;
         rs232c_midipanic();          rs232c_midipanic();
         mpu98ii_midipanic();          mpu98ii_midipanic();
         pc9861k_midipanic();          pc9861k_midipanic();
         sxsi_trash();          sxsi_alltrash();
   
         ret |= flagload_common(&sffh->sfh, np2tbl);          ret |= flagload_common(&sffh->sfh, np2tbl);
   

Removed from v.1.45  
changed lines
  Added in v.1.46


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