mt bugfix

04063: All sets in solomon.c: All characters in the game are missing (player and enemies)
This commit is contained in:
Michaël Banaan Ananas 2010-09-30 11:16:41 +00:00
parent e36e09d872
commit 6086522fb6

View File

@ -82,7 +82,7 @@ static void draw_sprites(running_machine *machine, bitmap_t *bitmap, const recta
UINT8 *spriteram = state->spriteram;
int offs;
for (offs = machine->generic.spriteram_size - 4; offs >= 0; offs -= 4)
for (offs = state->spriteram_size - 4; offs >= 0; offs -= 4)
{
int code = spriteram[offs] + 16 * (spriteram[offs + 1] & 0x10);
int color = (spriteram[offs + 1] & 0x0e) >> 1;