Previous 15994 Revisions Next

r5634 Monday 7th September, 2009 at 17:42:13 UTC by R. Belmont
[GBA] Fix sprite priority issue introduced in last commit.
[src/mess/video]gba.c

src/mess/video/gba.c
r5633r5634
499499         attr1 = pgba_oam[(4*gba_oamindex)+1];
500500         attr2 = pgba_oam[(4*gba_oamindex)+2];
501501
502         if (((attr0 & OBJ_MODE) != OBJ_MODE_WINDOW) && (((attr2 >> 10) & 3) >= priority))
502         if (((attr0 & OBJ_MODE) != OBJ_MODE_WINDOW) && (((attr2 >> 10) & 3) == priority))
503503         {
504504            width = 0;
505505            height = 0;

Previous 15994 Revisions Next


© 1998-2018 The MESS Team