readb returns 8 bit value. (fixes some logging warnings later on)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3918
This commit is contained in:
parent
7e22a0f0c0
commit
5c10edabb8
1 changed files with 2 additions and 2 deletions
|
@ -933,7 +933,7 @@ static CMscdex* mscdex = 0;
|
|||
static PhysPt curReqheaderPtr = 0;
|
||||
|
||||
static Bit16u MSCDEX_IOCTL_Input(PhysPt buffer,Bit8u drive_unit) {
|
||||
Bitu ioctl_fct = mem_readb(buffer);
|
||||
Bit8u ioctl_fct = mem_readb(buffer);
|
||||
MSCDEX_LOG("MSCDEX: IOCTL INPUT Subfunction %02X",ioctl_fct);
|
||||
switch (ioctl_fct) {
|
||||
case 0x00 : /* Get Device Header address */
|
||||
|
@ -1050,7 +1050,7 @@ static Bit16u MSCDEX_IOCTL_Input(PhysPt buffer,Bit8u drive_unit) {
|
|||
}
|
||||
|
||||
static Bit16u MSCDEX_IOCTL_Optput(PhysPt buffer,Bit8u drive_unit) {
|
||||
Bitu ioctl_fct = mem_readb(buffer);
|
||||
Bit8u ioctl_fct = mem_readb(buffer);
|
||||
// MSCDEX_LOG("MSCDEX: IOCTL OUTPUT Subfunction %02X",ioctl_fct);
|
||||
switch (ioctl_fct) {
|
||||
case 0x00 : // Unload /eject media
|
||||
|
|
Loading…
Add table
Reference in a new issue