mirror of
https://github.com/open-simh/simh.git
synced 2026-01-13 23:37:13 +00:00
SCP: Extend SHOW processing for default (unspecified) device to also handle global show modifiers, thus making SHOW RADIX display the radix for the default device (usually CPU).
This commit is contained in:
parent
f081ddf9aa
commit
9cb9018665
8
scp.c
8
scp.c
@ -4036,8 +4036,12 @@ else {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!dptr)
|
||||
return SCPE_NXDEV; /* no match */
|
||||
if (!dptr) {
|
||||
if ((shptr = find_shtab (show_dev_tab, gbuf))) /* global match? */
|
||||
return shptr->action (ofile, sim_dflt_dev, uptr, shptr->arg, cptr);
|
||||
else
|
||||
return SCPE_NXDEV; /* no match */
|
||||
}
|
||||
}
|
||||
|
||||
if (*cptr == 0) { /* now eol? */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user