diff --git a/frontend/drivers/platform_dos.c b/frontend/drivers/platform_dos.c index dd195172a4..22787c4d47 100644 --- a/frontend/drivers/platform_dos.c +++ b/frontend/drivers/platform_dos.c @@ -16,6 +16,7 @@ #include #include +#include #include #include #include @@ -29,7 +30,9 @@ static enum frontend_fork dos_fork_mode = FRONTEND_FORK_NONE; static void frontend_dos_init(void *data) { - printf("Loading RetroArch...\n"); + // Keep a call to time() as otherwise we trigger some obscure bug in + // djgpp libc code and time(NULL) return only -1 + printf("Loading RetroArch. Time is @%ld...\n", (long) time(NULL)); } static void frontend_dos_shutdown(bool unused)