mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[SCSI MODE] Fix decoding of MODE SENSE (10) pages in page 0 format.
This commit is contained in:
@@ -220,7 +220,7 @@ public static partial class Modes
|
||||
|
||||
break;
|
||||
}
|
||||
case true when offset + 1 < modeResponse.Length:
|
||||
case false when offset + 1 < modeResponse.Length:
|
||||
{
|
||||
pg.PageResponse = new byte[modeResponse[offset + 1] + 2];
|
||||
int copyLen = pg.PageResponse.Length;
|
||||
|
||||
Reference in New Issue
Block a user