cd.cpp: Fix regression booting SGI Indy from CD-ROM [sneakywumpus, R. Belmont]

This commit is contained in:
arbee 2021-07-24 09:13:56 -04:00
parent 4b59cf4a2e
commit cce5ce373d

View File

@ -430,7 +430,8 @@ void nscsi_cdrom_device::scsi_command()
}; };
LOG("Apple special MODE SENSE page\n"); LOG("Apple special MODE SENSE page\n");
memcpy(scsi_cmdbuf, apple_magic, 0x24); scsi_cmdbuf[pos++] = 0x30; // PS, page id
memcpy(&scsi_cmdbuf[pos], apple_magic, 0x24);
pos += 0x24; pos += 0x24;
} }
break; break;