]> git.sur5r.net Git - cc65/commitdiff
Shortenned the CBM close() by a byte and a cycle.
authorGreg King <gregdk@users.sf.net>
Mon, 26 Feb 2018 20:07:13 +0000 (15:07 -0500)
committerGreg King <gregdk@users.sf.net>
Mon, 26 Feb 2018 20:07:13 +0000 (15:07 -0500)
libsrc/cbm/close.s

index 004b88df9d3dc794cb63dc8d72d6a766e1e049a2..b43c07b57e54206e058339763c5559302f705e6d 100644 (file)
@@ -40,7 +40,7 @@
 
         lda     #LFN_CLOSED
         sta     fdtab,x
-        lda     tmp2            ; Get the handle
+        txa                     ; Get handle
         clc
         adc     #LFN_OFFS       ; Make LFN from handle
         jsr     CLOSE