Fixed multiplexer attach bug introduced when the DEV_DONTAUTO flag was added

This commit is contained in:
Mark Pizzolato 2013-07-07 13:49:31 -10:00
parent 64ed03d10a
commit 1b6fc77421

3
scp.c
View file

@ -3664,7 +3664,8 @@ if (uptr->flags & UNIT_ATT) /* already attached? */
return r;
}
else
return SCPE_ALATT; /* Already attached */
if (!(uptr->dynflags & UNIT_ATTMULT))
return SCPE_ALATT; /* Already attached */
sim_trim_endspc (cptr); /* trim trailing spc */
return scp_attach_unit (dptr, uptr, cptr); /* attach */
}