Diff for /np2/io/cgrom.c between versions 1.6 and 1.7

version 1.6, 2003/12/19 23:16:06 version 1.7, 2003/12/21 16:05:25
Line 37  static void cgwindowset(CGROM cr) { Line 37  static void cgwindowset(CGROM cr) {
         else {          else {
                 high = low;                  high = low;
         }          }
   #if !defined(CGWND_FONTPTR)
         cgwindow.low = low;          cgwindow.low = low;
         cgwindow.high = high;          cgwindow.high = high;
 #if defined(CPUSTRUC_FONTPTR)  #else
         FONTPTR_LOW = fontrom + low;          cgwindow.fontlow = fontrom + low;
         FONTPTR_HIGH = fontrom + high;          cgwindow.fonthigh = fontrom + high;
 #endif  #endif
 }  }
   
Line 132  void cgrom_reset(void) { Line 133  void cgrom_reset(void) {
   
         cgw = &cgwindow;          cgw = &cgwindow;
         ZeroMemory(cgw, sizeof(cgrom));          ZeroMemory(cgw, sizeof(cgrom));
   #if !defined(CGWND_FONTPTR)
         cgw->low = 0x7fff0;          cgw->low = 0x7fff0;
         cgw->high = 0x7fff0;          cgw->high = 0x7fff0;
 #if defined(CPUSTRUC_FONTPTR)  #else
         FONTPTR_LOW = fontrom + 0x7fff0;          cgw->fontlow = fontrom + 0x7fff0;
         FONTPTR_HIGH = fontrom + 0x7fff0;          cgw->fonthigh = fontrom + 0x7fff0;
 #endif  #endif
         cgw->writable = 0;          cgw->writable = 0;
 }  }

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


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