mirror of
https://github.com/simh/simh.git
synced 2026-04-30 13:31:36 +00:00
General cleanup migrate to using sim_printf vs separate calls to printf and fprintf(sim_log).
This commit is contained in:
@@ -3245,9 +3245,7 @@ int i;
|
||||
|
||||
if (!caveats_displayed) {
|
||||
caveats_displayed = TRUE;
|
||||
printf ("%s", cpu_next_caveats);
|
||||
if (sim_log)
|
||||
fprintf (sim_log, "%s", cpu_next_caveats);
|
||||
sim_printf ("%s", cpu_next_caveats);
|
||||
}
|
||||
if (SCPE_OK != get_aval (PC, &cpu_dev, &cpu_unit)) /* get data */
|
||||
return FALSE;
|
||||
|
||||
@@ -866,14 +866,11 @@ if (!vid_active) {
|
||||
vid_close ();
|
||||
return SCPE_MEM;
|
||||
}
|
||||
printf ("QVSS Display Created. ");
|
||||
sim_printf ("QVSS Display Created. ");
|
||||
vid_show_release_key (stdout, NULL, 0, NULL);
|
||||
printf ("\n");
|
||||
if (sim_log) {
|
||||
fprintf (sim_log, "QVSS Display Created. ");
|
||||
if (sim_log)
|
||||
vid_show_release_key (sim_log, NULL, 0, NULL);
|
||||
fprintf (sim_log, "\n");
|
||||
}
|
||||
sim_printf ("\n");
|
||||
}
|
||||
sim_activate_abs (&vc_unit, tmxr_poll);
|
||||
return auto_config (NULL, 0); /* run autoconfig */
|
||||
|
||||
Reference in New Issue
Block a user