Diff for /np2/win9xc/np2.cpp between versions 1.1 and 1.3

version 1.1, 2003/10/16 17:59:18 version 1.3, 2003/10/21 14:57:41
Line 51  static const char szClassName[] = "NP2-M Line 51  static const char szClassName[] = "NP2-M
   
   
                 NP2OSCFG        np2oscfg = {                  NP2OSCFG        np2oscfg = {
                                                 CW_USEDEFAULT, CW_USEDEFAULT, 1, 1, 0, 2,                                                  CW_USEDEFAULT, CW_USEDEFAULT, 0, 2,
                                                 KEY_UNKNOWN, 0,                                                  KEY_UNKNOWN, 0,
                                                 0, 0, 0, {1, 2, 2, 1},                                                  0, 0, 0, {1, 2, 2, 1},
                                                 0};                                                  0};
Line 565  LRESULT CALLBACK WndProc(HWND hWnd, UINT Line 565  LRESULT CALLBACK WndProc(HWND hWnd, UINT
                             HBITMAP             hbmp;                              HBITMAP             hbmp;
                             BITMAP              bmp;                              BITMAP              bmp;
                             HINSTANCE   hinst;                              HINSTANCE   hinst;
                                 int                     sx = 640 + np2oscfg.paddingx;                                  int                     sx = 640;
                                 int                     sy = 400 + np2oscfg.paddingy;                                  int                     sy = 400;
   
                             hinst = (HINSTANCE)GetWindowLong(hWnd, GWL_HINSTANCE);                              hinst = (HINSTANCE)GetWindowLong(hWnd, GWL_HINSTANCE);
 #if 1  #if 1
Line 756  int WINAPI WinMain(HINSTANCE hInstance,  Line 756  int WINAPI WinMain(HINSTANCE hInstance, 
   
         srand((unsigned)time(NULL));          srand((unsigned)time(NULL));
   
 //      np2arg_analize(lpszCmdLine);  
   
         if ((hwndorg = FindWindow(szClassName, NULL)) != NULL) {          if ((hwndorg = FindWindow(szClassName, NULL)) != NULL) {
                 ShowWindow(hwndorg, SW_RESTORE);                  ShowWindow(hwndorg, SW_RESTORE);
                 SetForegroundWindow(hwndorg);                  SetForegroundWindow(hwndorg);

Removed from v.1.1  
changed lines
  Added in v.1.3


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