Fixed multiplexer attach bug introduced when the DEV_DONTAUTO flag was added
This commit is contained in:
parent
64ed03d10a
commit
1b6fc77421
1 changed files with 2 additions and 1 deletions
3
scp.c
3
scp.c
|
@ -3664,7 +3664,8 @@ if (uptr->flags & UNIT_ATT) /* already attached? */
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
return SCPE_ALATT; /* Already attached */
|
if (!(uptr->dynflags & UNIT_ATTMULT))
|
||||||
|
return SCPE_ALATT; /* Already attached */
|
||||||
sim_trim_endspc (cptr); /* trim trailing spc */
|
sim_trim_endspc (cptr); /* trim trailing spc */
|
||||||
return scp_attach_unit (dptr, uptr, cptr); /* attach */
|
return scp_attach_unit (dptr, uptr, cptr); /* attach */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue