PDP10: Adopt internal SCP internal time base

This commit is contained in:
Mark Pizzolato 2020-10-29 13:32:42 -07:00
parent 263e0e7ed5
commit c9c3f8568a

View file

@ -488,7 +488,7 @@ time_t curtim;
struct tm *tptr; struct tm *tptr;
t_stat st = SCPE_OK; t_stat st = SCPE_OK;
curtim = time (NULL); /* get time */ curtim = sim_get_time (NULL); /* get time */
tptr = localtime (&curtim); /* decompose */ tptr = localtime (&curtim); /* decompose */
if (tptr == NULL) if (tptr == NULL)
return SCPE_NXM; return SCPE_NXM;