From 739265499ec8fa1fde1e7ad56ec1e1f01b6a630d Mon Sep 17 00:00:00 2001 From: Sebastian Herbszt Date: Mon, 14 Jul 2008 17:04:02 +0200 Subject: conio: jump to loadkeys_ret in loadkeys if size not 256 bytes Add back jump to loadkeys_ret if the file size was not 256 bytes; inadvertently deleted when removing DX:AX 16-bitism. --- core/conio.inc | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.1