]> git.sur5r.net Git - cc65/commitdiff
Fixed stupid adressing mode bug.
authorOliver Schmidt <ol.sc@web.de>
Sat, 10 Oct 2015 09:15:43 +0000 (11:15 +0200)
committerOliver Schmidt <ol.sc@web.de>
Sat, 10 Oct 2015 09:15:43 +0000 (11:15 +0200)
Thanks Greg for pointing out :-)

libsrc/cbm510/mcbdefault.s

index 7542d776ddcf8f0a0de5680a89fcc2bacc5bfb20..0db753e927155d78a93153b880f518e4c3602d4a 100644 (file)
@@ -55,7 +55,7 @@ initmcb:
         sta     IndReg
 
         lda     _mouse_def_pointercolor
-        ldy     VIC_SPR0_COLOR + MOUSE_SPR
+        ldy     #VIC_SPR0_COLOR + MOUSE_SPR
         sta     (vic),y
 
         stx     IndReg