Diff for /np2/win9x/np2.cpp between versions 1.40 and 1.42

version 1.40, 2004/02/18 03:24:48 version 1.42, 2004/02/21 17:52:04
Line 276  static int flagload(const char *ext, con Line 276  static int flagload(const char *ext, con
         winuienter();          winuienter();
         id = IDYES;          id = IDYES;
         ret = statsave_check(path, buf, sizeof(buf));          ret = statsave_check(path, buf, sizeof(buf));
         if (ret & (~NP2FLAG_DISKCHG)) {          if (ret & (~STATFLAG_DISKCHG)) {
                 MessageBox(hWndMain, "Couldn't restart", title, MB_OK | MB_ICONSTOP);                  MessageBox(hWndMain, "Couldn't restart", title, MB_OK | MB_ICONSTOP);
                 id = IDNO;                  id = IDNO;
         }          }
         else if ((!force) && (ret & NP2FLAG_DISKCHG)) {          else if ((!force) && (ret & STATFLAG_DISKCHG)) {
                 char buf2[1024 + 256];                  char buf2[1024 + 256];
                 wsprintf(buf2, "Conflict!\n\n%s\nContinue?", buf);                  wsprintf(buf2, "Conflict!\n\n%s\nContinue?", buf);
                 id = MessageBox(hWndMain, buf2, title,                  id = MessageBox(hWndMain, buf2, title,
Line 1349  int WINAPI WinMain(HINSTANCE hInstance,  Line 1349  int WINAPI WinMain(HINSTANCE hInstance, 
                         np2oscfg.KEYBOARD = KEY_KEY106;                          np2oscfg.KEYBOARD = KEY_KEY106;
                 }                  }
         }          }
         keystat_reset();          keystat_initialize();
   
         np2class_initialize(hInstance);          np2class_initialize(hInstance);
         if (!hPreInst) {          if (!hPreInst) {

Removed from v.1.40  
changed lines
  Added in v.1.42


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