src/mess/video/vdc.c
| r921 | r922 | |
| 624 | 624 | |
| 625 | 625 | /* If CGX is set, bit 0 of sprite pattern index is forced to 0 */ |
| 626 | 626 | if ( cgx ) |
| 627 | | obj_i &= ~1; |
| 627 | obj_i &= ~2; |
| 628 | 628 | |
| 629 | 629 | /* If CGY is set to 1, bit 1 of the sprite pattern index is forced to 0. */ |
| 630 | 630 | if ( cgy & 1 ) |
| 631 | | obj_i &= ~2; |
| 631 | obj_i &= ~4; |
| 632 | 632 | |
| 633 | 633 | /* If CGY is set to 2 or 3, bit 1 and 2 of the sprite pattern index are forced to 0. */ |
| 634 | 634 | if ( cgy & 2 ) |
| 635 | | obj_i &= ~3; |
| 635 | obj_i &= ~12; |
| 636 | 636 | |
| 637 | 637 | sprites_drawn++; |
| 638 | 638 | if(sprites_drawn > 16) |