1
0
mirror of https://github.com/simh/simh.git synced 2026-04-18 08:57:25 +00:00

SCP: Allow the presence of DEVICE DEBTAB array to imply the DEV_DEBUG flag

This commit is contained in:
Mark Pizzolato
2017-06-07 18:56:06 -07:00
parent 921c012784
commit c470d1e5e2
3 changed files with 6 additions and 6 deletions

View File

@@ -457,7 +457,7 @@ DEVICE *dptr;
if ((dptr = find_dev_from_unit (uptr)) == NULL)
return SCPE_NOATT;
return sim_tape_attach_ex (uptr, cptr, (dptr->flags & DEV_DEBUG) ? 0xFFFFFFFF : 0, 0);
return sim_tape_attach_ex (uptr, cptr, ((dptr->flags & DEV_DEBUG) || (dptr->debflags)) ? 0xFFFFFFFF : 0, 0);
}
t_stat sim_tape_attach_ex (UNIT *uptr, const char *cptr, uint32 dbit, int completion_delay)