Diff for /np2/win9x/debuguty/viewer.cpp between versions 1.7 and 1.8

version 1.7, 2005/03/19 20:46:07 version 1.8, 2005/03/20 08:58:19
Line 12  static const TCHAR  np2viewclass[] = _T( Line 12  static const TCHAR  np2viewclass[] = _T(
 extern  HINSTANCE               hInst;  extern  HINSTANCE               hInst;
   
   
 static void viewer_segmode(HWND hwnd, BYTE type) {  static void viewer_segmode(HWND hwnd, UINT8 type) {
   
         NP2VIEW_T       *view;          NP2VIEW_T       *view;
   
Line 114  LRESULT CALLBACK ViewProc(HWND hWnd, UIN Line 114  LRESULT CALLBACK ViewProc(HWND hWnd, UIN
                 case WM_VSCROLL:                  case WM_VSCROLL:
                         view = viewcmn_find(hWnd);                          view = viewcmn_find(hWnd);
                         if (view) {                          if (view) {
                                 DWORD newpos = view->pos;                                  UINT32 newpos = view->pos;
                                 switch(LOWORD(wParam)) {                                  switch(LOWORD(wParam)) {
                                         case SB_LINEUP:                                          case SB_LINEUP:
                                                 if (newpos) {                                                  if (newpos) {
Line 226  void viewer_open(void) { Line 226  void viewer_open(void) {
         view = np2view;          view = np2view;
         for (i=0; i<NP2VIEW_MAX; i++, view++) {          for (i=0; i<NP2VIEW_MAX; i++, view++) {
                 if (!view->alive) {                  if (!view->alive) {
                         OEMCHAR buf[256];                          TCHAR buf[256];
                         viewcmn_caption(view, buf);                          viewcmn_caption(view, buf);
                         ZeroMemory(view, sizeof(NP2VIEW_T));                          ZeroMemory(view, sizeof(NP2VIEW_T));
                         view->alive = TRUE;                          view->alive = TRUE;
Line 263  void viewer_allclose(void) { Line 263  void viewer_allclose(void) {
   
 void viewer_allreload(BOOL force) {  void viewer_allreload(BOOL force) {
   
 static  DWORD   last = 0;  static UINT32   last = 0;
                 DWORD   now;          UINT32          now;
   
         now = GetTickCount();          now = GetTickCount();
         if ((force) || ((now - last) >= 200)) {          if ((force) || ((now - last) >= 200)) {

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


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