mirror of
https://github.com/fhgwright/SCSI2SD.git
synced 2025-04-10 01:37:07 +00:00
More custom mode page fixes - fall-through to standard pages if not found
This commit is contained in:
parent
8dc9a838f5
commit
ecdf21796a
@ -335,7 +335,7 @@ static void doModeSense(
|
||||
if (scsiDev.target->cfg->modePages[1] != 0)
|
||||
{
|
||||
pageFound = useCustomPages(scsiDev.target->cfg, pc, pageCode, &idx);
|
||||
pageCode = 0xFF; // dodgy, skip rest of logic
|
||||
if (pageFound && pageCode != 0x3F) pageCode = 0xFF; // skip rest of logic
|
||||
}
|
||||
|
||||
if (pageCode == 0x01 || pageCode == 0x3F)
|
||||
|
Loading…
x
Reference in New Issue
Block a user