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