fix unintended fall-through for mscdex load medium command (ripsaw)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3705
This commit is contained in:
parent
545ae4eb8d
commit
9f4a040fd5
1 changed files with 1 additions and 0 deletions
|
@ -1041,6 +1041,7 @@ static Bit16u MSCDEX_IOCTL_Optput(PhysPt buffer,Bit8u drive_unit) {
|
|||
break;
|
||||
case 0x05 : // load media
|
||||
if (!mscdex->LoadUnloadMedia(drive_unit,false)) return 0x02;
|
||||
break;
|
||||
default : LOG(LOG_MISC,LOG_ERROR)("MSCDEX: Unsupported IOCTL OUTPUT Subfunction %02X",ioctl_fct);
|
||||
return 0x03; // invalid function
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue