mirror of
https://github.com/garrettsworkshop/MacIIROMDiskDriver.git
synced 2024-11-22 03:30:58 +00:00
Change RDisk inhibit flag to bit 4 (0x80)
This commit is contained in:
parent
c9788b080b
commit
6c460098f2
2
rdisk.c
2
rdisk.c
@ -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));
|
||||||
|
Loading…
Reference in New Issue
Block a user