Diff for /np2/x11/np2.c between versions 1.4 and 1.5

version 1.4, 2003/11/27 17:24:20 version 1.5, 2003/11/28 16:29:57
Line 35 Line 35
 #include "timing.h"  #include "timing.h"
 #include "toolkit.h"  #include "toolkit.h"
   
 #include "keydisp.h"  #include "kdispwin.h"
 #include "toolwin.h"  #include "toolwin.h"
   
 #include "commng.h"  #include "commng.h"
Line 219  changescreen(BYTE newmode) Line 219  changescreen(BYTE newmode)
         if (renewal) {          if (renewal) {
                 if (renewal & SCRNMODE_FULLSCREEN) {                  if (renewal & SCRNMODE_FULLSCREEN) {
                         toolwin_destroy();                          toolwin_destroy();
                         keydisp_destroy();                          kdispwin_destroy();
                 }                  }
                 soundmng_stop();                  soundmng_stop();
                 mouse_running(MOUSE_STOP);                  mouse_running(MOUSE_STOP);
Line 239  changescreen(BYTE newmode) Line 239  changescreen(BYTE newmode)
                                         toolwin_create();                                          toolwin_create();
                                 }                                  }
                                 if (np2oscfg.keydisp) {                                  if (np2oscfg.keydisp) {
                                         keydisp_create();                                          kdispwin_create();
                                 }                                  }
                         }                          }
                 }                  }
Line 256  framereset(UINT cnt) Line 256  framereset(UINT cnt)
   
         framecnt = 0;          framecnt = 0;
         scrnmng_dispclock();          scrnmng_dispclock();
         keydisp_draw((BYTE)cnt);          kdispwin_draw((BYTE)cnt);
         toolwin_draw((BYTE)cnt);          toolwin_draw((BYTE)cnt);
         if (np2oscfg.DISPCLK & 3) {          if (np2oscfg.DISPCLK & 3) {
                 if (sysmng_workclockrenewal()) {                  if (sysmng_workclockrenewal()) {

Removed from v.1.4  
changed lines
  Added in v.1.5


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