From 55237d31e3751ebacfa23eeac0751110a15b7fa8 Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Thu, 11 Sep 2003 07:02:04 +0000 Subject: [PATCH] Setting file date/time gives a success result now. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1244 --- src/dos/dos.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/dos/dos.cpp b/src/dos/dos.cpp index fe98e810..a00d86b3 100644 --- a/src/dos/dos.cpp +++ b/src/dos/dos.cpp @@ -691,11 +691,12 @@ static Bitu DOS_21Handler(void) { CALLBACK_SCF(false); } else { CALLBACK_SCF(true); - }; + } + } else if (reg_al==0x01) { + LOG(LOG_DOSMISC,LOG_ERROR)("DOS:57:Set File Date Time Faked"); + CALLBACK_SCF(false); } else { - reg_cx=0; - reg_dx=0; - LOG(LOG_DOSMISC,LOG_ERROR)("DOS:57:Setting File Date is faked",reg_ah); + LOG(LOG_DOSMISC,LOG_ERROR)("DOS:57:Unsupported subtion %X",reg_al); } break; case 0x58: /* Get/Set Memory allocation strategy */