aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--isolinux.asm5
1 files changed, 2 insertions, 3 deletions
diff --git a/isolinux.asm b/isolinux.asm
index b41cdddd..d3b510af 100644
--- a/isolinux.asm
+++ b/isolinux.asm
@@ -2829,14 +2829,13 @@ searchdir_iso:
cmp cl,'/'
jne .scan
mov [di-1],byte 0 ; Terminate at directory name
- xchg ax,di
mov cl,02h ; Search for directory
xchg cl,[ISOFlags]
- push ax
+ push di
push cx
push word .resume ; Where to "return" to
push es
-.isfile:
+.isfile: xchg ax,di
.getsome:
; Get a chunk of the directory