Fix mount bug

This commit is contained in:
Zane Kaminski 2021-12-27 01:23:47 -05:00
parent bbd0ab11c4
commit 551b0d23e3
8 changed files with 2 additions and 5 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -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;