mirror of
https://github.com/akuker/RASCSI.git
synced 2025-02-03 10:31:52 +00:00
Fixed Inquiry issue
This commit is contained in:
parent
68eb6bba4c
commit
7cb5b89a52
@ -305,12 +305,7 @@ void SCSIDEV::Execute()
|
||||
ctrl.blocks = 1;
|
||||
ctrl.execstart = SysTimer::GetTimerLow();
|
||||
|
||||
ctrl.device = NULL;
|
||||
|
||||
// INQUIRY requires a special LUN handling
|
||||
if (ctrl.cmd[0] != eCmdInquiry) {
|
||||
ctrl.device = ctrl.unit[GetLun()];
|
||||
}
|
||||
ctrl.device = ctrl.unit[GetLun()];
|
||||
|
||||
if (device_commands.count(static_cast<scsi_command>(ctrl.cmd[0]))) {
|
||||
device_command_t *command = device_commands[static_cast<scsi_command>(ctrl.cmd[0])];
|
||||
|
Loading…
x
Reference in New Issue
Block a user