VAX 440 simulators: Avoid duplicate model name in SHOW CPU output
This commit is contained in:
parent
49b6e52d48
commit
e75b2f29dc
1 changed files with 7 additions and 3 deletions
|
@ -1077,14 +1077,18 @@ return SCPE_OK;
|
|||
|
||||
t_stat cpu_print_model (FILE *st)
|
||||
{
|
||||
const char *model = "";
|
||||
|
||||
fprintf (st, "%s", sim_name);
|
||||
#if defined (VAX_46)
|
||||
fprintf (st, "VAXstation 4000-60 (KA46)");
|
||||
model = "VAXstation 4000-60 (KA46)";
|
||||
#elif defined (VAX_47)
|
||||
fprintf (st, "MicroVAX 3100-80 (KA47)");
|
||||
model = "MicroVAX 3100-80 (KA47)";
|
||||
#elif defined (VAX_48)
|
||||
fprintf (st, "VAXstation 4000-VLC (KA48)");
|
||||
model = "VAXstation 4000-VLC (KA48)";
|
||||
#endif
|
||||
if (strcmp (sim_name, model) != 0)
|
||||
fprintf (st, "%s", model);
|
||||
return SCPE_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue