[SCSI MODE] Fix decoding of MODE SENSE (10) pages in page 0 format.

This commit is contained in:
2024-04-30 03:07:39 +01:00
parent eaf4a3a449
commit 06d6a7cfcb

View File

@@ -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;