mirror of
https://github.com/holub/mame
synced 2025-06-02 02:49:44 +03:00
pgm2: fix end of sprite list handling (nw) (#2931)
pgm2: fix end of sprite list handling (nw)
This commit is contained in:
parent
6435f7b004
commit
8bfcc5c50e
@ -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