From: cuz Date: Mon, 30 Apr 2001 15:42:52 +0000 (+0000) Subject: Fixed a bug with the .incbin command X-Git-Tag: V2.12.0~2866 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=abb136238913244d31655ef8b6c8a1b0c9aa44fd;p=cc65 Fixed a bug with the .incbin command git-svn-id: svn://svn.cc65.org/cc65/trunk@697 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/ca65/pseudo.c b/src/ca65/pseudo.c index 22c6e533b..f7dc8bb4e 100644 --- a/src/ca65/pseudo.c +++ b/src/ca65/pseudo.c @@ -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;