Previous 15994 Revisions Next

r3150 Wednesday 3rd September, 2008 at 07:27:50 UTC by Roberto Zandonà
[C64] fixed sprite wrap at the top of the screen
[src/mess/video]vic6567.c

src/mess/video/vic6567.c
r3149r3150
12591259            }
12601260         }
12611261         // sprite wrap y at the top of the screen
1262         else if (SPRITEON (i) && (yoff == 1 + yend - ybegin) && (SPRITE_Y_POS (i) < 1 + yend - ybegin))
1262         else if (SPRITEON (i) && (SPRITE_Y_POS (i) < yoff) && (yoff == 8))
12631263         {
1264            int wrapped = 1 + yend - ybegin - SPRITE_Y_POS (i);
1264            int wrapped = yoff - SPRITE_Y_POS (i);
12651265            syend = yend;
12661266
12671267            if (SPRITE_Y_EXPAND (i))

Previous 15994 Revisions Next


© 1998-2018 The MESS Team