From: cuz Date: Thu, 13 Sep 2001 21:45:44 +0000 (+0000) Subject: Fixed a bug X-Git-Tag: V2.12.0~2667 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f74ed6a2d17f0c4e60f07d204fdd76222f0bec9d;p=cc65 Fixed a bug git-svn-id: svn://svn.cc65.org/cc65/trunk@914 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/c128/color.s b/libsrc/c128/color.s index c63309032..e58234373 100644 --- a/libsrc/c128/color.s +++ b/libsrc/c128/color.s @@ -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 diff --git a/libsrc/c64/color.s b/libsrc/c64/color.s index d4a4e4f3e..2ba136a7e 100644 --- a/libsrc/c64/color.s +++ b/libsrc/c64/color.s @@ -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