mirror of
https://github.com/dkgrizzly/GreenSCSI.git
synced 2024-11-25 09:31:07 +00:00
Fix issue with incorrect LUN calc
This commit is contained in:
parent
6342dc58de
commit
a223891a6d
@ -1248,8 +1248,8 @@ void loop()
|
|||||||
if(m_isBusReset) goto BusFree;
|
if(m_isBusReset) goto BusFree;
|
||||||
}
|
}
|
||||||
// LUN confirmation
|
// LUN confirmation
|
||||||
m_lun = m_sts>>5;
|
|
||||||
m_sts = cmd[1]&0xe0; // Preset LUN in status byte
|
m_sts = cmd[1]&0xe0; // Preset LUN in status byte
|
||||||
|
m_lun = m_sts>>5;
|
||||||
// HDD Image selection
|
// HDD Image selection
|
||||||
m_img = (HDDIMG *)0; // None
|
m_img = (HDDIMG *)0; // None
|
||||||
if( (m_lun <= NUM_SCSILUN) )
|
if( (m_lun <= NUM_SCSILUN) )
|
||||||
|
Loading…
Reference in New Issue
Block a user