mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
Merge pull request #767 from k2-git/master
to fix flip sprites in toypop.
This commit is contained in:
commit
f969f32718
@ -253,7 +253,7 @@ void namcos16_state::legacy_obj_draw(bitmap_ind16 &bitmap,const rectangle &clipr
|
||||
{
|
||||
for(int xi=0;xi<width;xi++)
|
||||
{
|
||||
UINT16 sprite_offs = tile + xi + yi * 2;
|
||||
UINT16 sprite_offs = tile + (xi ^ ((width - 1) & fx)) + yi * 2;
|
||||
gfx_1->transmask(bitmap,cliprect,sprite_offs,color,fx,fy,x + xi*16,y + yi *16,m_palette->transpen_mask(*gfx_1, color, 0xff));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user