--------------------------------------------------------------------------- Get the number of bytes for a command ---------------------------------------------------------------------------
| 20 | // |
| 21 | //--------------------------------------------------------------------------- |
| 22 | int BUS::GetCommandByteCount(uint8_t opcode) |
| 23 | { |
| 24 | const auto& mapping = command_mapping.find(static_cast<scsi_command>(opcode)); |
| 25 | |
| 26 | return mapping != command_mapping.end() ? mapping->second.first : 0; |
| 27 | } |
| 28 | |
| 29 | //--------------------------------------------------------------------------- |
| 30 | // |
nothing calls this directly
no outgoing calls
no test coverage detected