From: Oliver Schmidt
Date: Thu, 26 Jul 2018 12:31:17 +0000 (+0200)
Subject: Fixed regression introduced by https://github.com/cc65/cc65/pull/652.
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e949a3e64283e65b00ba8311bc9cec7fcb6ff681;p=cc65
Fixed regression introduced by https://github.com/cc65/cc65/pull/652.
---
diff --git a/libsrc/apple2/devicedir.s b/libsrc/apple2/devicedir.s
index de6bad5f2..79f4c60de 100644
--- a/libsrc/apple2/devicedir.s
+++ b/libsrc/apple2/devicedir.s
@@ -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