1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-13 15:27:46 +00:00

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;
t_stat st = SCPE_OK;
curtim = time (NULL); /* get time */
curtim = sim_get_time (NULL); /* get time */
tptr = localtime (&curtim); /* decompose */
if (tptr == NULL)
return SCPE_NXM;