| 133 | } |
| 134 | |
| 135 | void ModePageDevice::SaveParametersCheck(int length) const |
| 136 | { |
| 137 | if (!SupportsSaveParameters() && (GetController()->GetCmdByte(1) & 0x01)) { |
| 138 | throw scsi_exception(sense_key::illegal_request, asc::invalid_field_in_cdb); |
| 139 | } |
| 140 | |
| 141 | GetController()->SetLength(length); |
| 142 | |
| 143 | EnterDataOutPhase(); |
| 144 | } |
nothing calls this directly
no test coverage detected