Diff for /np2/x11/np2.c between versions 1.8 and 1.13

version 1.8, 2003/12/19 16:08:01 version 1.13, 2004/02/18 06:52:34
Line 31 Line 31
 #include "pccore.h"  #include "pccore.h"
 #include "dosio.h"  #include "dosio.h"
 #include "scrndraw.h"  #include "scrndraw.h"
 #include "statsave.h"  
 #include "timing.h"  #include "timing.h"
 #include "toolkit.h"  #include "toolkit.h"
   
Line 60  NP2OSCFG np2oscfg = { Line 59  NP2OSCFG np2oscfg = {
         0,                      /* paddingy */          0,                      /* paddingy */
   
         0,                      /* NOWAIT */          0,                      /* NOWAIT */
         2,                      /* DRAW_SKIP */          0,                      /* DRAW_SKIP */
   
         0,                      /* DISPCLK */          0,                      /* DISPCLK */
   
Line 82  NP2OSCFG np2oscfg = { Line 81  NP2OSCFG np2oscfg = {
         0,                      /* toolwin */          0,                      /* toolwin */
         0,                      /* keydisp */          0,                      /* keydisp */
         0,                      /* hostdrv_write */          0,                      /* hostdrv_write */
           0,                      /* jastsnd */
         0,                      /* I286SAVE */          0,                      /* I286SAVE */
   
         SNDDRV_NODRV,           /* snddrv */          SNDDRV_NODRV,           /* snddrv */
Line 126  char statpath[MAX_PATH]; Line 126  char statpath[MAX_PATH];
 #endif  #endif
 char fontname[1024] = FONTFACE;  char fontname[1024] = FONTFACE;
   
   #ifndef FONTNAME_DEFAULT
   #define FONTNAME_DEFAULT        "./default.ttf"
   #endif
   char fontfilename[MAX_PATH] = FONTNAME_DEFAULT;
   
 char timidity_cfgfile_path[MAX_PATH];  char timidity_cfgfile_path[MAX_PATH];
   
 BOOL use_shared_pixmap;  BOOL use_shared_pixmap;
Line 196  flagload(const char* ext, const char* ti Line 201  flagload(const char* ext, const char* ti
   
         getstatfilename(path, ext, sizeof(path));          getstatfilename(path, ext, sizeof(path));
         ret = statsave_check(path, buf, sizeof(buf));          ret = statsave_check(path, buf, sizeof(buf));
         if (ret & (~NP2FLAG_DISKCHG)) {          if (ret & (~STATFLAG_DISKCHG)) {
                 fprintf(stderr, "Couldn't restart\n");                  fprintf(stderr, "Couldn't restart\n");
                 rv = 1;                  rv = 1;
         } else if ((!force) && (ret & NP2FLAG_DISKCHG)) {          } else if ((!force) && (ret & STATFLAG_DISKCHG)) {
                 fprintf(stderr, "Conflict\n");                  fprintf(stderr, "Conflict\n");
                 rv = 1;                  rv = 1;
         }          }

Removed from v.1.8  
changed lines
  Added in v.1.13


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