More improvements for IOCTL generic block device request
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4115
This commit is contained in:
parent
31d7e74eac
commit
ff8d4f287f
2 changed files with 8 additions and 15 deletions
|
@ -1118,13 +1118,7 @@ static Bitu DOS_21Handler(void) {
|
|||
}
|
||||
reg_ch=0x08; // IOCTL category: disk drive
|
||||
reg_ax=0x440d; // Generic block device request
|
||||
if (DOS_IOCTL()) {
|
||||
reg_ax=0; // AX destroyed
|
||||
CALLBACK_SCF(false);
|
||||
} else {
|
||||
reg_ax=dos.errorcode;
|
||||
CALLBACK_SCF(true);
|
||||
}
|
||||
DOS_21Handler();
|
||||
reg_cx=old_cx;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue