From 7accd39f112e157a52a36aff4f12d6de1c238af5 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Wed, 1 Aug 2018 12:58:20 +0300 Subject: [PATCH] Also allow READ(6) and (10) when HD_SCSICMD is sent to partition hardfile. --- scsi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scsi.cpp b/scsi.cpp index bce77aca..f0585648 100644 --- a/scsi.cpp +++ b/scsi.cpp @@ -79,7 +79,7 @@ extern int log_scsiemu; static const uae_s16 outcmd[] = { 0x04, 0x0a, 0x0c, 0x11, 0x2a, 0xaa, 0x15, 0x55, 0x0f, -1 }; static const uae_s16 incmd[] = { 0x01, 0x03, 0x08, 0x0e, 0x12, 0x1a, 0x5a, 0x25, 0x28, 0x34, 0x37, 0x42, 0x43, 0xa8, 0x51, 0x52, 0xb9, 0xbd, 0xd8, 0xd9, 0xbe, -1 }; static const uae_s16 nonecmd[] = { 0x00, 0x05, 0x06, 0x07, 0x09, 0x0b, 0x10, 0x16, 0x17, 0x19, 0x1b, 0x1d, 0x1e, 0x2b, 0x35, 0x45, 0x47, 0x48, 0x49, 0x4b, 0x4e, 0xa5, 0xa9, 0xba, 0xbc, 0xe0, 0xe3, 0xe4, -1 }; -static const uae_s16 safescsi[] = { 0x00, 0x01, 0x03, 0x0e, 0x0f, 0x12, 0x1a, 0x1b, 0x25, 0x35, 0x5a, -1 }; +static const uae_s16 safescsi[] = { 0x00, 0x01, 0x03, 0x08, 0x0e, 0x0f, 0x12, 0x1a, 0x1b, 0x25, 0x28, 0x35, 0x5a, -1 }; static const uae_s16 scsicmdsizes[] = { 6, 10, 10, 12, 16, 12, 10, 6 }; static void scsi_illegal_command(struct scsi_data *sd) -- 2.47.3