From abb136238913244d31655ef8b6c8a1b0c9aa44fd Mon Sep 17 00:00:00 2001 From: cuz Date: Mon, 30 Apr 2001 15:42:52 +0000 Subject: [PATCH] Fixed a bug with the .incbin command git-svn-id: svn://svn.cc65.org/cc65/trunk@697 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/ca65/pseudo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;