mirror of
https://github.com/garrettsworkshop/MacIIROMDiskDriver.git
synced 2024-12-04 06:49:23 +00:00
Fix mount bug
This commit is contained in:
parent
bbd0ab11c4
commit
551b0d23e3
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
bin/driver.bin
BIN
bin/driver.bin
Binary file not shown.
7
rdisk.c
7
rdisk.c
@ -312,11 +312,8 @@ OSErr RDCtl(CntrlParamPtr p, DCtlPtr d) {
|
|||||||
if (!c->status.diskInPlace) { return controlErr; }
|
if (!c->status.diskInPlace) { return controlErr; }
|
||||||
return noErr;
|
return noErr;
|
||||||
case accRun:
|
case accRun:
|
||||||
if (!c->initialized) {
|
c->initialized = 1; // Mark init done
|
||||||
// Mark init done
|
c->status.diskInPlace = 8; // 8 is nonejectable disk
|
||||||
c->initialized = 1;
|
|
||||||
c->status.diskInPlace = 8; // 8 is nonejectable disk
|
|
||||||
}
|
|
||||||
PostEvent(diskEvt, c->status.dQDrive); // Post disk inserted event
|
PostEvent(diskEvt, c->status.dQDrive); // Post disk inserted event
|
||||||
d->dCtlFlags &= ~dNeedTimeMask; // Disable accRun
|
d->dCtlFlags &= ~dNeedTimeMask; // Disable accRun
|
||||||
return noErr;
|
return noErr;
|
||||||
|
Loading…
Reference in New Issue
Block a user