From 865b429d85e009c29a6629a5153fb74504a78e2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Strohh=C3=A4cker?= Date: Mon, 7 Apr 2008 19:11:48 +0000 Subject: [PATCH] revert "fix", update comment (int24 abortable hook not feasible here) Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3140 --- src/dos/dos.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/dos/dos.cpp b/src/dos/dos.cpp index 700ba82c..e32f9292 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.110 2008-04-03 18:28:19 c2woody Exp $ */ +/* $Id: dos.cpp,v 1.111 2008-04-07 19:11:48 c2woody Exp $ */ #include #include @@ -445,12 +445,11 @@ static Bitu DOS_21Handler(void) { if (drive==0) drive=DOS_GetDefaultDrive(); else drive--; if (drive<2) { - // floppy oddity, non-present drives don't fail with the - // invalid drive error - CALLBACK_SCF(true); - } else { - reg_ax=0xffff; // invalid drive specified + // floppy drive, non-present drivesdisks issue floppy check through int24 + // (critical error handler); needed for Mixed up Mother Goose (hook) +// CALLBACK_RunRealInt(0x24); } + reg_ax=0xffff; // invalid drive specified } } break;