]> git.sur5r.net Git - cc65/commitdiff
Fixed regression introduced by https://github.com/cc65/cc65/pull/652.
authorOliver Schmidt <ol.sc@web.de>
Thu, 26 Jul 2018 12:31:17 +0000 (14:31 +0200)
committerOliver Schmidt <ol.sc@web.de>
Thu, 26 Jul 2018 12:31:17 +0000 (14:31 +0200)
libsrc/apple2/devicedir.s

index de6bad5f2c3b0dc52df568be6295992a69300f9a..79f4c60de82af6fb660aeb9a2484ddfba224246d 100644 (file)
@@ -20,6 +20,7 @@ _getdevicedir:
         jsr     popptr1
 
         ; Set buf
+        ldx     ptr1+1
         sta     mliparam + MLI::ON_LINE::DATA_BUFFER
         stx     mliparam + MLI::ON_LINE::DATA_BUFFER+1
 
@@ -62,7 +63,7 @@ oserr:  jsr     __mappederrno
         lda     (ptr1),y
         and     #15             ; Max volume name length
         sta     tmp1
-        
+
         ; Add leading slash
         lda     #'/'
         sta     (ptr1),y