mirror of
https://github.com/garrettsworkshop/MacIIROMDiskDriver.git
synced 2024-12-03 14:49:35 +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; }
|
||||
return noErr;
|
||||
case accRun:
|
||||
if (!c->initialized) {
|
||||
// Mark init done
|
||||
c->initialized = 1;
|
||||
c->status.diskInPlace = 8; // 8 is nonejectable disk
|
||||
}
|
||||
c->initialized = 1; // Mark init done
|
||||
c->status.diskInPlace = 8; // 8 is nonejectable disk
|
||||
PostEvent(diskEvt, c->status.dQDrive); // Post disk inserted event
|
||||
d->dCtlFlags &= ~dNeedTimeMask; // Disable accRun
|
||||
return noErr;
|
||||
|
Loading…
Reference in New Issue
Block a user