Diff for /np2/statsave.c between versions 1.28 and 1.31

version 1.28, 2004/01/22 01:10:03 version 1.31, 2004/01/23 15:58:15
Line 9 Line 9
 #include        "pccore.h"  #include        "pccore.h"
 #include        "iocore.h"  #include        "iocore.h"
 #include        "cbuscore.h"  #include        "cbuscore.h"
   #include        "sasiio.h"
   #include        "scsiio.h"
 #include        "pc9861k.h"  #include        "pc9861k.h"
 #include        "mpu98ii.h"  #include        "mpu98ii.h"
 #include        "board14.h"  #include        "board14.h"
Line 24 Line 26
 #include        "fddfile.h"  #include        "fddfile.h"
 #include        "fdd_mtr.h"  #include        "fdd_mtr.h"
 #include        "sxsi.h"  #include        "sxsi.h"
 #include        "calendar.h"  
 #include        "keydisp.h"  #include        "keydisp.h"
 #include        "sasiio.h"  
 #include        "scsiio.h"  
 #include        "hostdrv.h"  #include        "hostdrv.h"
   #include        "calendar.h"
   
 #if defined(MACOS)  #if defined(MACOS)
 #define CRCONST         str_cr  #define CRCONST         str_cr
Line 665  static int flagload_cgwnd(STFLAGH sfh, c Line 664  static int flagload_cgwnd(STFLAGH sfh, c
   
 // ---- dma  // ---- dma
   
 static int flagsave_dma(STFLAGH sfh, const SFENTRY *t) {  static int flagsave_dma(STFLAGH sfh, const SFENTRY *tbl) {
   
         int                     i;          int                     i;
         _DMAC           dmabak;          _DMAC           dmabak;
Line 678  static int flagsave_dma(STFLAGH sfh, con Line 677  static int flagsave_dma(STFLAGH sfh, con
                         return(STATFLAG_FAILURE);                          return(STATFLAG_FAILURE);
                 }                  }
         }          }
           (void)tbl;
         return(statflag_write(sfh, &dmabak, sizeof(dmabak)));          return(statflag_write(sfh, &dmabak, sizeof(dmabak)));
 }  }
   
Line 1019  static int flagsave_fm(STFLAGH sfh, cons Line 1019  static int flagsave_fm(STFLAGH sfh, cons
         if (saveflg & FLAG_CS4231) {          if (saveflg & FLAG_CS4231) {
                 ret |= statflag_write(sfh, &cs4231, sizeof(cs4231));                  ret |= statflag_write(sfh, &cs4231, sizeof(cs4231));
         }          }
           (void)tbl;
         return(ret);          return(ret);
 }  }
   
Line 1068  static int flagload_fm(STFLAGH sfh, cons Line 1069  static int flagload_fm(STFLAGH sfh, cons
         cs4231_reset();          cs4231_reset();
   
         ret = statflag_read(sfh, &usesound, sizeof(usesound));          ret = statflag_read(sfh, &usesound, sizeof(usesound));
         fmboard_reset((BYTE)usesound);          fmboard_reset(usesound);
   
         fmreg1a = 0x000;          fmreg1a = 0x000;
         fmreg1b = 0x100;          fmreg1b = 0x100;

Removed from v.1.28  
changed lines
  Added in v.1.31


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