1
0
Fork 0

mscdex check sets some register that isn't mentioned in references (thanks to ripsaw, fixes part of judge dredd)

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3312
This commit is contained in:
Sebastian Strohhäcker 2009-03-01 15:40:30 +00:00
parent d289485bdf
commit 614cec47ff

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2002-2008 The DOSBox Team
* Copyright (C) 2002-2009 The DOSBox Team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -16,7 +16,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* $Id: dos_mscdex.cpp,v 1.57 2009-02-01 14:24:36 qbix79 Exp $ */
/* $Id: dos_mscdex.cpp,v 1.58 2009-03-01 15:40:30 c2woody Exp $ */
#include <string.h>
#include <ctype.h>
@ -1097,6 +1097,7 @@ static bool MSCDEX_Handler(void) {
case 0x1500: /* Install check */
reg_bx = mscdex->GetNumDrives();
if (reg_bx>0) reg_cx = mscdex->GetFirstDrive();
reg_al = 0xff;
return true;
case 0x1501: /* Get cdrom driver info */
mscdex->GetDriverInfo(data);