From a66cf46549c5606d08746cbd4646c5cf46cf7fc9 Mon Sep 17 00:00:00 2001 From: cuz Date: Thu, 15 Jun 2000 18:06:18 +0000 Subject: [PATCH] Fixed a bug git-svn-id: svn://svn.cc65.org/cc65/trunk@86 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/common/copydata.s | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libsrc/common/copydata.s b/libsrc/common/copydata.s index b554540be..10f409ca9 100644 --- a/libsrc/common/copydata.s +++ b/libsrc/common/copydata.s @@ -31,7 +31,7 @@ copydata: iny bne @L1 inc ptr1+1 - inc ptr2+2 ; Bump pointers + inc ptr2+1 ; Bump pointers dex bne @L1 @@ -39,7 +39,7 @@ copydata: @L2: ldx #<__DATA_SIZE__ ; Get remaining bytes beq @L4 - + @L3: lda (ptr1),y sta (ptr2),y iny -- 2.39.5