summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/nscsi_cd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/nscsi_cd.cpp')
-rw-r--r--src/devices/machine/nscsi_cd.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/devices/machine/nscsi_cd.cpp b/src/devices/machine/nscsi_cd.cpp
index 8d8a766e131..ebfa49f1cae 100644
--- a/src/devices/machine/nscsi_cd.cpp
+++ b/src/devices/machine/nscsi_cd.cpp
@@ -642,10 +642,14 @@ void nscsi_cdrom_apple_device::scsi_command()
case SC_TEST_UNIT_READY:
LOG("command TEST UNIT READY (AppleCD)\n");
if(cdrom)
+ {
scsi_status_complete(SS_GOOD);
+ }
else
+ {
sense(false, SK_NOT_READY, 0xb0);
scsi_status_complete(SS_CHECK_CONDITION);
+ }
break;
default: