diff --git a/bin/driver.bin b/bin/driver.bin index 6f6a189..140dc50 100755 Binary files a/bin/driver.bin and b/bin/driver.bin differ diff --git a/bin/rom.bin b/bin/rom.bin index 3cca7d3..5d19ade 100755 Binary files a/bin/rom.bin and b/bin/rom.bin differ diff --git a/rdisk.c b/rdisk.c index a33777d..81f8e1c 100644 --- a/rdisk.c +++ b/rdisk.c @@ -115,12 +115,13 @@ OSErr RDiskInit(IOParamPtr p, DCtlPtr d, RDiskStorage_t *c) { return noErr; } else { // Otherwise if R not held down and ROM boot not set in PRAM, // Remove our driver from the drive queue - /*DrvQElPtr dq; + DrvQElPtr dq; QHdrPtr QHead = (QHdrPtr)0x308; // Loop through entire drive queue, searching for our device or stopping at the end. dq = (DrvQElPtr)QHead->qHead; - while((dq != (DrvQElPtr)(QHead->qTail)) && (dq->dQRefNum != d->dCtlRefNum)) { + while ((dq != (DrvQElPtr)(QHead->qTail)) && + (dq->dQRefNum != d->dCtlRefNum)) { dq = (DrvQElPtr)(dq->qLink); } // If we found our driver, remove it from the queue @@ -132,7 +133,7 @@ OSErr RDiskInit(IOParamPtr p, DCtlPtr d, RDiskStorage_t *c) { d->dCtlStorage = NULL; // Return disk offline error - return offLinErr;*/ + return offLinErr; } }