]> git.sur5r.net Git - cc65/commitdiff
fixed a typo
authorcpg <cpg@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 28 May 2000 21:54:19 +0000 (21:54 +0000)
committercpg <cpg@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 28 May 2000 21:54:19 +0000 (21:54 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@11 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/atari/fdtable.s

index 9c0ad844417069662877825fc45c41257e583afb..660880d1cd294ab70be7c8b0f1aab67aec0a45fd 100644 (file)
@@ -129,7 +129,7 @@ inval:      ldx     #$ff                    ; sets N
        sta     fd_table+ft_usa,x
        bne     ret                     ; not 0
        lda     #$ff                    ; 0, table entry unused now
-       sta     fd_table+ft_iocb,y      ; clear table entry
+       sta     fd_table+ft_iocb,x      ; clear table entry
 ret:   rts
 
 .endproc