TMXR: Properly test when adding debugging options only to DEV_MUX DEVICEs
This commit is contained in:
parent
e68af896d0
commit
3840765c63
1 changed files with 1 additions and 1 deletions
|
@ -3913,7 +3913,7 @@ static DEBTAB tmxr_debug[] = {
|
||||||
|
|
||||||
t_stat tmxr_add_debug (DEVICE *dptr)
|
t_stat tmxr_add_debug (DEVICE *dptr)
|
||||||
{
|
{
|
||||||
if (!(dptr->flags & DEV_MUX))
|
if (DEV_TYPE(dptr) != DEV_MUX)
|
||||||
return SCPE_OK;
|
return SCPE_OK;
|
||||||
return sim_add_debug_flags (dptr, tmxr_debug);
|
return sim_add_debug_flags (dptr, tmxr_debug);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue