Merge pull request #5247 from kunikunijp/toypop-patch

toypop.cpp: liblrabl: The sprite of the flower withered by an enemy like scissors was not correct.
This commit is contained in:
R. Belmont 2019-06-16 17:48:32 -04:00 committed by GitHub
commit f9733332fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -279,6 +279,9 @@ void namcos16_state::legacy_obj_draw(bitmap_ind16 &bitmap,const rectangle &clipr
uint8_t width = ((base_spriteram[count+bank2] & 4) >> 2) + 1;
uint8_t height = ((base_spriteram[count+bank2] & 8) >> 3) + 1;
tile &= ~(width - 1);
tile &= ~((height - 1) << 1);
if (flip)
{
fx ^= 1;