]> git.sur5r.net Git - cc65/commitdiff
Fixed a bug
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 15 Jun 2000 18:06:18 +0000 (18:06 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 15 Jun 2000 18:06:18 +0000 (18:06 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@86 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/common/copydata.s

index b554540be163372ce8ee950e91ddbc4d5f31e8dc..10f409ca9d69d4425b5f4fb2ad7fb8d420f7261a 100644 (file)
@@ -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