Diff for /np2/win9x/np2.cpp between versions 1.61 and 1.63

version 1.61, 2005/03/20 13:12:49 version 1.63, 2005/03/23 08:07:48
Line 51 Line 51
 #define         OPENING_WAIT            1500  #define         OPENING_WAIT            1500
 #endif  #endif
   
 static  OEMCHAR         szClassName[] = OEMTEXT("NP2-MainWindow");  static  TCHAR           szClassName[] = _T("NP2-MainWindow");
                 HWND            hWndMain;                  HWND            hWndMain;
                 HINSTANCE       hInst;                  HINSTANCE       hInst;
                 HINSTANCE       hPrev;                  HINSTANCE       hPrev;
Line 876  static void np2cmd(HWND hWnd, UINT16 cmd Line 876  static void np2cmd(HWND hWnd, UINT16 cmd
                         update |= SYS_UPDATECFG;                          update |= SYS_UPDATECFG;
                         break;                          break;
   
                 case IDM_I286SAVE:                  case IDM_CPUSAVE:
                         debugsub_status();                          debugsub_status();
                         break;                          break;
   
Line 1417  int WINAPI WinMain(HINSTANCE hInstance,  Line 1417  int WINAPI WinMain(HINSTANCE hInstance, 
   
         rand_setseed((unsigned)time(NULL));          rand_setseed((unsigned)time(NULL));
   
         CopyMemory(szClassName, np2oscfg.winid, 3 * sizeof(OEMCHAR));          szClassName[0] = (TCHAR)np2oscfg.winid[0];
           szClassName[1] = (TCHAR)np2oscfg.winid[1];
           szClassName[2] = (TCHAR)np2oscfg.winid[2];
   
         if ((hWnd = FindWindow(szClassName, NULL)) != NULL) {          if ((hWnd = FindWindow(szClassName, NULL)) != NULL) {
                 sstpmsg_running();                  sstpmsg_running();

Removed from v.1.61  
changed lines
  Added in v.1.63


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