From: cpg Date: Wed, 11 Nov 2009 23:15:42 +0000 (+0000) Subject: bugfix from Fatih X-Git-Tag: V2.13.1~70 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ab6ff06e762ada4d3aab81593b93fa225d992e16;p=cc65 bugfix from Fatih git-svn-id: svn://svn.cc65.org/cc65/trunk@4459 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/atari/atari_tgi_common.inc b/libsrc/atari/atari_tgi_common.inc index b4af06763..a4c90aa93 100644 --- a/libsrc/atari/atari_tgi_common.inc +++ b/libsrc/atari/atari_tgi_common.inc @@ -554,7 +554,7 @@ exit: .if grmode = 9 ; Mode 10 mapping .if grmode = 10 - ; Map out of range colors like this: + ; Map out-of-range colors like this: ; 9 -> 8 ; 10 -> 8 ; 11 -> 8 @@ -562,8 +562,8 @@ exit: .if grmode = 9 ; 13 -> 1 ; 14 -> 2 ; 15 -> 3 - cmp #8 - bcs @cont + cmp #9 + bcc @cont sub #12 bcs @cont lda #8