aboutsummaryrefslogtreecommitdiffstats
path: root/core/isolinux.asm
diff options
context:
space:
mode:
Diffstat (limited to 'core/isolinux.asm')
-rw-r--r--core/isolinux.asm3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/isolinux.asm b/core/isolinux.asm
index f7c13669..f93b24e6 100644
--- a/core/isolinux.asm
+++ b/core/isolinux.asm
@@ -1232,7 +1232,8 @@ searchdir_iso:
shr eax,SECTOR_SHIFT
mov [bx+file_left],eax
pop eax
- and bx,bx ; ZF = 0
+ jz .failure ; Empty file?
+ ; ZF = 0
mov si,bx
pop es
ret