From a90640230855b6f33057ae4a3ef7c3537cf9e597 Mon Sep 17 00:00:00 2001 From: sidney Date: Thu, 26 Dec 2024 23:15:41 +0100 Subject: [PATCH] Re-enabling the clock_gettime() code path. --- src/sim65/peripherals.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sim65/peripherals.c b/src/sim65/peripherals.c index d48cf7137..90156aa17 100644 --- a/src/sim65/peripherals.c +++ b/src/sim65/peripherals.c @@ -61,7 +61,8 @@ void PeripheralsWriteByte (uint8_t Addr, uint8_t Val) /* A write to the "latch" register performs a simultaneous latch of all registers. */ /* Latch the current wallclock time first. */ -#if 0 +#if 1 + /* Enabling clock_gettime dependent codepath (expected to fail at least on Windows build.) */ struct timespec ts; int result = clock_gettime(CLOCK_REALTIME, &ts); if (result != 0) {