Fix drive lock status reporting for empty drives
Detail: s/DriverCode - Change IsDrawerLocked handler to read the lock status from the drive via mode page &2A, rather than doing a completely unrelated TEST UNIT READY command. On the offchance that &2A isn't implemented, just fall back on our softcopy of the lock state, which is effectively what TEST UNIT READY was doing in the first place. Admin: Tested on Iyonix CD_IsDrawerLocked now returns a sensible value for empty drives, instead of a drive empty error Fixes issue reported on forums where CDFS iconbar menu doesn't allow empty drives to be ejected (for ATAPI, at least): https://www.riscosopen.org/forum/forums/4/topics/3652 Version 1.44. Tagged as 'ATAPI-1_44'
Showing
Please register or sign in to comment