Minor SCSI correction ( #670 ) (#671)

Real hardware returns 4-byte block on read TOC, but System Card can deal with short responses; this makes the hardware function the same as original hardware
This commit is contained in:
David Shadoff
2022-08-01 04:26:16 -04:00
committed by GitHub
parent c49612f21a
commit cfd32c117d

View File

@@ -516,11 +516,13 @@ void pcecdd_t::CommandExec() {
switch (comm[1]) {
case 0:
default:
buf[0] = 2;
buf[0] = 4;
buf[1] = 0 | 0x80;
buf[2] = 1;
buf[3] = BCD(this->toc.last);
len = 2 + 2;
buf[4] = 0;
buf[5] = 0;
len = 4 + 2;
break;
case 1: