]> git.sur5r.net Git - cc65/commitdiff
Fixed a bug
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 23 Nov 2002 23:04:50 +0000 (23:04 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 23 Nov 2002 23:04:50 +0000 (23:04 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1615 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/common/fwrite.s

index 845792c77087aa29412e90511945b991e10bd7d2..31e3e5e962757729367221bee3bc97be04deaaad 100644 (file)
         sta     ptr1
         lda     f+1
         sta     ptr1+1
-        ldy     #_FILE_f_fd
+        ldy     #_FILE_f_flags
         lda     (ptr1),y
         ora     #_FERROR
         sta     (ptr1),y