From: karri Date: Sat, 3 Nov 2012 20:13:25 +0000 (+0000) Subject: Add end of sprite byte X-Git-Tag: V2.14~175 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=77e6bb483fab0416e528a5d3c92ff18604068349;p=cc65 Add end of sprite byte git-svn-id: svn://svn.cc65.org/cc65/trunk@5899 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/sp65/lynxsprite.c b/src/sp65/lynxsprite.c index 74add649a..58262cd6c 100644 --- a/src/sp65/lynxsprite.c +++ b/src/sp65/lynxsprite.c @@ -258,6 +258,9 @@ StrBuf* GenLynxSprite (const Bitmap* B, const Collection* A) if ((OY == 0) && (OX == 0)) { /* Trivial case only one quadrant */ + /* Mark end of sprite */ + SB_AppendChar (D, 0); + /* Return the converted bitmap */ return D; }