mirror of
https://github.com/vivier/EMILE.git
synced 2025-01-18 06:31:23 +00:00
Ignore scPhaseErr on SCSIRead()
This commit is contained in:
parent
2ebcc7dbb3
commit
f0129ad176
@ -10,6 +10,7 @@
|
||||
|
||||
#include <macos/types.h>
|
||||
#include <macos/errors.h>
|
||||
#include <macos/scsi.h>
|
||||
|
||||
#include "libscsi.h"
|
||||
|
||||
@ -43,7 +44,7 @@ int scsi_command(int target, char* cdb, int count, TIB_t* tib)
|
||||
}
|
||||
|
||||
err = SCSIRead(tib);
|
||||
if (err != noErr)
|
||||
if ((err != scPhaseErr) && (err != noErr))
|
||||
{
|
||||
printf("Cannot read data (%d)\n", err);
|
||||
goto complete;
|
||||
|
Loading…
x
Reference in New Issue
Block a user