aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Herbszt <herbszt@gmx.de>2008-07-14 17:04:02 +0200
committerH. Peter Anvin <hpa@zytor.com>2008-07-14 09:30:24 -0700
commit739265499ec8fa1fde1e7ad56ec1e1f01b6a630d (patch)
treeea4c419bfc93acdde76c64d3abd706f163ae6cec
parente4ce10b5907619aa41f6c1c13949dc1152866c6e (diff)
downloadsyslinux-739265499ec8fa1fde1e7ad56ec1e1f01b6a630d.tar.gz
syslinux-739265499ec8fa1fde1e7ad56ec1e1f01b6a630d.tar.xz
syslinux-739265499ec8fa1fde1e7ad56ec1e1f01b6a630d.zip
conio: jump to loadkeys_ret in loadkeys if size not 256 bytessyslinux-3.71-pre9
Add back jump to loadkeys_ret if the file size was not 256 bytes; inadvertently deleted when removing DX:AX 16-bitism.
-rw-r--r--core/conio.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/conio.inc b/core/conio.inc
index 47154cda..6513f316 100644
--- a/core/conio.inc
+++ b/core/conio.inc
@@ -26,6 +26,8 @@
loadkeys:
cmp eax,256 ; Should be 256 bytes exactly
+ jne loadkeys_ret
+
mov bx,trackbuf
mov cx,1 ; 1 cluster should be >= 256 bytes
call getfssec