From e949a3e64283e65b00ba8311bc9cec7fcb6ff681 Mon Sep 17 00:00:00 2001
From: Oliver Schmidt
Date: Thu, 26 Jul 2018 14:31:17 +0200
Subject: [PATCH] Fixed regression introduced by
https://github.com/cc65/cc65/pull/652.
---
libsrc/apple2/devicedir.s | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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
--
2.39.5