ReservoirGods / GODLIB

Library for creating Atari ST software
34 stars 8 forks source link

Sprite_MaskCreate doesn't work for sprites wider than 16 pixels #5

Closed sandord closed 6 years ago

sandord commented 6 years ago

The lpSrc = apGfx; statement here, should sit outside of the while loop as it currently re-reads the same first 16 pixels.

https://github.com/ReservoirGods/GODLIB/blob/224cd0f8933f304557184fd2657939987f9abe1c/SPRITE/SPRITE.C#L129

pink-rg commented 6 years ago

Good spot. Fix should be as described.

pink-rg commented 6 years ago

Fixed now.