Changed the default pass through transfer length for non-media access commands to 65534 bytes instead of 8192, just in case someone tries to use a disc with an abnormal number of tracks.

This commit is contained in:
OBattler
2017-01-24 20:32:55 +01:00
parent f2c8591220
commit 6f705abd61
2 changed files with 7 additions and 7 deletions

View File

@@ -524,7 +524,7 @@ static int ioctl_get_block_length(uint8_t id, const UCHAR *cdb, int number_of_bl
if (no_length_check)
{
return 8192;
return 65534;
}
switch (cdb[0])
@@ -590,7 +590,7 @@ common_handler:
break;
default:
/* Other commands */
return 8192;
return 65534;
break;
}