pgm2: fix end of sprite list handling (nw)

This commit is contained in:
David Haywood 2017-12-13 22:41:06 +00:00
parent e2e6328720
commit 05e00b0baf

View File

@ -138,9 +138,9 @@ void pgm2_state::draw_sprites(screen_device &screen, const rectangle &cliprect,
//printf("frame\n"); //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; endoflist = i;
break; break;