Change RDisk inhibit flag to bit 4 (0x80)

This commit is contained in:
Zane Kaminski 2021-03-04 11:59:37 -05:00
parent c9788b080b
commit 6c460098f2

View File

@ -66,7 +66,7 @@ OSErr RDiskOpen(IOParamPtr p, DCtlPtr d) {
// Do nothing if inhibited // Do nothing if inhibited
RDiskReadXPRAM(1, 4, &legacy_startup); RDiskReadXPRAM(1, 4, &legacy_startup);
if ((legacy_startup & 0x07) == 0x04) { return noErr; } if (legacy_startup & 0x80) { return noErr; }
// Allocate storage struct // Allocate storage struct
d->dCtlStorage = NewHandleSysClear(sizeof(RDiskStorage_t)); d->dCtlStorage = NewHandleSysClear(sizeof(RDiskStorage_t));