• Robert Sprowson's avatar
    Revisit residue override logic · dd44bd45
    Robert Sprowson authored
    In SCSISoftUSB-0_27 all residue values were replaced with a locally computed one, however this seems to be tripped up by some brands of CD/DVD-ROM drive which stall, resulting in a differently wrong value being placed in the residue. Combat this by only replacing the residue with a locally computed one if it's obviously incorrect (as would be the case for reversed endianness and garbage upper byte).
    
    Thanks to Doug Webb, Chris Dale, and Chris Hall for helping test this on a variety of devices at their disposal; this restores some makes of drive that worked with SCSISoftUSB-0_26 and earlier, while also adding classes of quirky ones that now work.
    
    Version 0.28. Tagged as 'SCSISoftUSB-0_28'
    dd44bd45
umass 62.9 KB