From f25f371575eaf92be389c9971207cb7d9c0b8603 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Fri, 20 Jul 2007 18:22:28 +0000 Subject: [PATCH] Only use lowerpart of CX when dealing with cdrom drives.(Fixes Genesia) Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2925 --- src/dos/dos_mscdex.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/dos/dos_mscdex.cpp b/src/dos/dos_mscdex.cpp index 9f7f2742..dde2aba6 100644 --- a/src/dos/dos_mscdex.cpp +++ b/src/dos/dos_mscdex.cpp @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id: dos_mscdex.cpp,v 1.49 2007-07-19 18:58:39 c2woody Exp $ */ +/* $Id: dos_mscdex.cpp,v 1.50 2007-07-20 18:22:28 qbix79 Exp $ */ #include #include @@ -190,12 +190,14 @@ void CMscdex::GetDrives(PhysPt data) bool CMscdex::IsValidDrive(Bit16u _drive) { + _drive &= 0xff; //Only lowerpart (Ultimate domain) for (Bit16u i=0; i