From ba726f38b09d0ec7b13c538ee2e0be8515b02c59 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Mon, 2 Feb 2004 11:38:44 +0000 Subject: [PATCH] undocumented feature in fileattributes Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1640 --- src/dos/dos.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dos/dos.cpp b/src/dos/dos.cpp index 4e70e7a4..128e41df 100644 --- a/src/dos/dos.cpp +++ b/src/dos/dos.cpp @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id: dos.cpp,v 1.64 2004-01-19 17:51:04 qbix79 Exp $ */ +/* $Id: dos.cpp,v 1.65 2004-02-02 11:38:44 qbix79 Exp $ */ #include #include @@ -519,6 +519,7 @@ static Bitu DOS_21Handler(void) { case 0x00: /* Get */ { if (DOS_GetFileAttr(name1,®_cx)) { + reg_ax=reg_cx; /* Undocumented */ CALLBACK_SCF(false); } else { CALLBACK_SCF(true);