From: Toni Wilen Date: Tue, 15 Sep 2015 15:18:29 +0000 (+0300) Subject: Added error recovery page to SCSI HD Mode Sense emulation. (Used by Multi Evolution) X-Git-Tag: 3200~74 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=1ba2bb4277c5c65af5f40f4afa8acf828180cc28;p=francis%2Fwinuae.git Added error recovery page to SCSI HD Mode Sense emulation. (Used by Multi Evolution) --- diff --git a/hardfile.cpp b/hardfile.cpp index 6a3eec42..06f64dac 100644 --- a/hardfile.cpp +++ b/hardfile.cpp @@ -1453,6 +1453,12 @@ int scsi_hd_emulate (struct hardfiledata *hfd, struct hd_hardfiledata *hdhfd, ua p[2] = 0x20; p[3] = 0; r[0] += 4; + } else if (pcode == 1) { + // error recovery page + p[0] = 1; + p[1] = 0x0a; + r[0] += p[1] + 2; + // return defaults (0) } else if (pcode == 3) { // format parameters p[0] = 3;