aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/isolinux.asm2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/isolinux.asm b/core/isolinux.asm
index c5545bad..62b1a9ce 100644
--- a/core/isolinux.asm
+++ b/core/isolinux.asm
@@ -1400,6 +1400,8 @@ searchdir_iso:
.not_rooted:
mov eax,[si+dir_clust]
mov [bx+file_left],eax
+ shl eax,SECTOR_SHIFT
+ mov [bx+file_bytesleft],eax
mov eax,[si+dir_lba]
mov [bx+file_sector],eax
mov edx,[si+dir_len]