Previous 15994 Revisions Next

r6396 Sunday 15th November, 2009 at 20:50:38 UTC by Harmony
[N64] Out, out darn warning! [Harmony]
[src/mame/video]n64.c

src/mame/video/n64.c
r6395r6396
17671767                  UINT16 k = tlut[ c << 2];
17681768                  if (!other_modes.tlut_type)
17691769                  {
1770                     color->r = (((c >> 11) & 0x1f) << 3) | (((c >> 11) & 0x1f) >> 2);
1771                     color->g = (((c >>  6) & 0x1f) << 3) | (((c >>  6) & 0x1f) >> 2);
1772                     color->b = (((c >>  1) & 0x1f) << 3) | (((c >>  1) & 0x1f) >> 2);
1770                     color->r = (((k >> 11) & 0x1f) << 3) | (((k >> 11) & 0x1f) >> 2);
1771                     color->g = (((k >>  6) & 0x1f) << 3) | (((k >>  6) & 0x1f) >> 2);
1772                     color->b = (((k >>  1) & 0x1f) << 3) | (((k >>  1) & 0x1f) >> 2);
17731773                     color->a = (k & 1) ? 0xff : 0;
17741774                  }
17751775                  else

Previous 15994 Revisions Next


© 1998-2018 The MESS Team