Diff for /xmil/vram/sdraw.mcr between versions 1.1 and 1.2

version 1.1, 2004/08/01 05:31:31 version 1.2, 2004/08/17 12:30:41
Line 59  const UINT8 *p; Line 59  const UINT8 *p;
         sdraw->y = y;          sdraw->y = y;
 }  }
   
 #if defined(SDSETZPIXEL)  #if defined(SUPPORT_TURBOZ) && defined(SDZMODE)
 static void SCRNCALL SDSYM(z)(SDRAW sdraw, int maxy) {  static void SCRNCALL SDSYM(z)(SDRAW sdraw, int maxy) {
   
 const UINT8     *p;  const UINT8     *p;
Line 76  const UINT8 *p; Line 76  const UINT8 *p;
                 if (sdraw->dirty[y]) {                  if (sdraw->dirty[y]) {
                         xmax = sdraw->width / 2;                          xmax = sdraw->width / 2;
                         for (x=0; x<xmax; x++) {                          for (x=0; x<xmax; x++) {
                                 c = (p[x + 320] << 8) + p[x];                                  c = (p[x + 320] << 8) + p[x] + XMILPAL_4096G;
                                 SDSETZPIXEL(q, c);                                  SDSETPIXEL(q, c);
                                 q += sdraw->xalign;                                  q += sdraw->xalign;
                                 SDSETZPIXEL(q, c);                                  SDSETPIXEL(q, c);
                                 q += sdraw->xalign;                                  q += sdraw->xalign;
                         }                          }
                         q -= sdraw->xbytes;                          q -= sdraw->xbytes;
Line 97  const UINT8 *p; Line 97  const UINT8 *p;
   
 // ----  // ----
   
 static const SDRAWFN SDSYM(p)[3] = {  static const SDRAWFN SDSYM(p)[] = {
 #if defined(SDSETZPIXEL)                  SDSYM(x1),              SDSYM(x2),
                 SDSYM(x1),              SDSYM(x2),      SDSYM(z)  #if defined(SUPPORT_TURBOZ)
   #if defined(SDZMODE)
                   SDSYM(z)
 #else  #else
                 SDSYM(x1),              SDSYM(x2),      NULL                  NULL
   #endif
 #endif  #endif
         };          };
   

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


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