]> git.sur5r.net Git - cc65/commitdiff
Made LINE plot single-point lines correctly.
authorgreg-king5 <gregdk@users.sf.net>
Thu, 21 Jun 2018 12:18:53 +0000 (08:18 -0400)
committerGitHub <noreply@github.com>
Thu, 21 Jun 2018 12:18:53 +0000 (08:18 -0400)
libsrc/c64/tgi/c64-hi.s

index e2c3bca9f17353394d09ef5e80c262b878822f3b..8543345a5ebbd093de4464e900e1aa3bd17a04e4 100644 (file)
@@ -541,8 +541,7 @@ STEPINY:
         eor     CHUNK
         sta     CHUNK
         txa
-        bne     @CONT        ;If dy=0 it's just a point
-        inx
+        beq     YCONT2       ;If dy=0, it's just a point
 @CONT:  lsr                  ;Init counter to dy/2
 ;
 ; Main loop