Fixed another compile-breaking mistake in scsi_cdrom.c .

This commit is contained in:
OBattler
2017-01-04 22:50:16 +01:00
parent 83d87d5821
commit e67ced4d9f

View File

@@ -1131,20 +1131,20 @@ SCSIOut:
switch(cdb[3]) switch(cdb[3])
{ {
case 0: case 0:
alloc_length = 4; Temp = 4;
break; break;
case 1: case 1:
alloc_length = 16; Temp = 16;
break; break;
default: default:
alloc_length = 24; Temp = 24;
break; break;
} }
if (cdrom->read_subchannel) if (cdrom->read_subchannel)
{ {
cdrom->read_subchannel(cdb, cmdbuffer); cdrom->read_subchannel(cdb, cmdbuffer);
len = alloc_length; len = Temp;
} }
else else
{ {
@@ -1160,7 +1160,7 @@ SCSIOut:
} }
else else
{ {
len = alloc_length; len = Temp;
} }
if (cdb[3] == 1) if (cdb[3] == 1)
{ {