]> git.sur5r.net Git - cc65/commitdiff
Fixed a bug with the .incbin command
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 30 Apr 2001 15:42:52 +0000 (15:42 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 30 Apr 2001 15:42:52 +0000 (15:42 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@697 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/ca65/pseudo.c

index 22c6e533b26cbf4b20930c4e546f980d870d4764..f7dc8bb4e2eb732de9a1773d5d4e01528e72b9d3 100644 (file)
@@ -892,7 +892,7 @@ static void DoIncBin (void)
        }
 
        /* Insert it into the output */
-       EmitData (Buf, Count);
+       EmitData (Buf, BytesRead);
 
        /* Keep the counters current */
        Count -= BytesRead;