Previous 15994 Revisions Next

r922 Monday 3rd September, 2007 at 22:10:12 UTC by Wilbert Pol
[PCE] Fix some sprite issues.
[src/mess/video]vdc.c

src/mess/video/vdc.c
r921r922
624624
625625      /* If CGX is set, bit 0 of sprite pattern index is forced to 0 */
626626      if ( cgx )
627         obj_i &= ~1;
627         obj_i &= ~2;
628628
629629      /* If CGY is set to 1, bit 1 of the sprite pattern index is forced to 0. */
630630      if ( cgy & 1 )
631         obj_i &= ~2;
631         obj_i &= ~4;
632632
633633      /* If CGY is set to 2 or 3, bit 1 and 2 of the sprite pattern index are forced to 0. */
634634      if ( cgy & 2 )
635         obj_i &= ~3;
635         obj_i &= ~12;
636636
637637      sprites_drawn++;
638638      if(sprites_drawn > 16)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team