]> git.sur5r.net Git - cc65/commitdiff
Fixed a bug
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 13 Sep 2001 21:45:44 +0000 (21:45 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 13 Sep 2001 21:45:44 +0000 (21:45 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@914 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/c128/color.s
libsrc/c64/color.s

index c63309032fc07dc356c87aa178e26e3c9a5d256a..e58234373e59238bf41592dda5068285f13869ae 100644 (file)
@@ -26,7 +26,7 @@ _bgcolor:
 
 
 _bordercolor:
-       ldx     VIC_BG_COLOR0   ; get old value
+               ldx     VIC_BORDERCOLOR ; get old value
        sta     VIC_BORDERCOLOR ; set new value
        txa
        rts
index d4a4e4f3ef604dee572ab8bf60169dd9c38f4a81..2ba136a7e43969db2741e1e0a461c7a2f29f02cf 100644 (file)
@@ -26,7 +26,7 @@ _bgcolor:
 
 
 _bordercolor:
-       ldx     VIC_BG_COLOR0   ; get old value
+               ldx     VIC_BORDERCOLOR ; get old value
        sta     VIC_BORDERCOLOR ; set new value
        txa
        rts