Diff for /np2/vram/scrnsave.c between versions 1.2 and 1.4

version 1.2, 2005/02/07 14:46:13 version 1.4, 2005/02/12 12:40:39
Line 196  SCRNSAVE scrnsave_get(void) { Line 196  SCRNSAVE scrnsave_get(void) {
         sd->width = width;          sd->width = width;
         sd->height = height;          sd->height = height;
         sd->pals = pals;          sd->pals = pals;
         if (pals < 2) {          if (pals <= 2) {
                 sd->type = SCRNSAVE_1BIT;                  sd->type = SCRNSAVE_1BIT;
         }          }
         else if (pals < 16) {          else if (pals <= 16) {
                 sd->type = SCRNSAVE_4BIT;                  sd->type = SCRNSAVE_4BIT;
         }          }
         else if (pals < 256) {          else if (pals <= 256) {
                 sd->type = SCRNSAVE_8BIT;                  sd->type = SCRNSAVE_8BIT;
         }          }
         else {          else {
Line 224  void scrnsave_trash(SCRNSAVE hdl) { Line 224  void scrnsave_trash(SCRNSAVE hdl) {
   
 // ---- BMP  // ---- BMP
   
 BOOL scrnsave_writebmp(SCRNSAVE hdl, const char *filename, UINT flag) {  BRESULT scrnsave_writebmp(SCRNSAVE hdl, const OEMCHAR *filename, UINT flag) {
   
 const SCRNDATA  *sd;  const SCRNDATA  *sd;
         FILEH           fh;          FILEH           fh;
Line 431  sswb_err1: Line 431  sswb_err1:
         } while(/*CONSTCOND*/ 0)          } while(/*CONSTCOND*/ 0)
   
   
 BOOL scrnsave_writegif(SCRNSAVE hdl, const char *filename, UINT flag) {  BRESULT scrnsave_writegif(SCRNSAVE hdl, const OEMCHAR *filename, UINT flag) {
   
 const SCRNDATA  *sd;  const SCRNDATA  *sd;
         UINT            bpp;          UINT            bpp;

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


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