Fix for full pathname lookup algorithm.
authorhpa <hpa>
Thu, 12 Apr 2001 23:13:15 +0000 (23:13 +0000)
committerhpa <hpa>
Thu, 12 Apr 2001 23:13:15 +0000 (23:13 +0000)
isolinux.asm

index b41cddd..d3b510a 100644 (file)
@@ -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