1
0
Fork 0

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:
ripsaw8080 2018-06-12 20:18:42 +00:00
parent 31d7e74eac
commit ff8d4f287f
2 changed files with 8 additions and 15 deletions

View file

@ -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;
}