PDP10: Adopt internal SCP internal time base
This commit is contained in:
parent
263e0e7ed5
commit
c9c3f8568a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue