summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/nscsi/cd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/nscsi/cd.cpp')
-rw-r--r--src/devices/bus/nscsi/cd.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/bus/nscsi/cd.cpp b/src/devices/bus/nscsi/cd.cpp
index 76ba51dc380..170c5334561 100644
--- a/src/devices/bus/nscsi/cd.cpp
+++ b/src/devices/bus/nscsi/cd.cpp
@@ -430,7 +430,8 @@ void nscsi_cdrom_device::scsi_command()
};
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;
}
break;