mirror of
https://github.com/holub/mame
synced 2025-05-05 13:54:42 +03:00
pgm2: fix end of sprite list handling (nw)
This commit is contained in:
parent
e2e6328720
commit
05e00b0baf
@ -138,9 +138,9 @@ void pgm2_state::draw_sprites(screen_device &screen, const rectangle &cliprect,
|
||||
|
||||
//printf("frame\n");
|
||||
|
||||
for (int i = 0;i < 0x2000 / 4;i++)
|
||||
for (int i = 0;i < 0x2000 / 4;i+=4)
|
||||
{
|
||||
if (spriteram[i] == 0x80000000)
|
||||
if (spriteram[i+2] & 0x80000000)
|
||||
{
|
||||
endoflist = i;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user