mirror of
https://github.com/holub/mame
synced 2025-07-04 09:28:51 +03:00
cd.cpp: Fix regression booting SGI Indy from CD-ROM [sneakywumpus, R. Belmont]
This commit is contained in:
parent
4b59cf4a2e
commit
cce5ce373d
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user