From 31ad2f21698a68a78393e76e479e34cbe12a98c2 Mon Sep 17 00:00:00 2001 From: Nick Briggs Date: Mon, 16 Dec 2024 20:13:05 -0800 Subject: [PATCH] Adds MaikoGitVersion to information printed with -info option --- src/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.c b/src/main.c index eae25411..4f8c1946 100644 --- a/src/main.c +++ b/src/main.c @@ -246,6 +246,7 @@ extern DspInterface currentdsp; #include "sdldefs.h" /* for init_SDL */ #endif extern const time_t MDate; +extern const char *MaikoGitVersion; extern int nokbdflag; extern int nomouseflag; #ifdef DOS @@ -831,6 +832,7 @@ void print_info_lines(void) { #endif /* RELEASE */ printf("Compiled for %s (%s) (%d bit).\n", MAIKO_OS_NAME, MAIKO_ARCH_NAME, MAIKO_ARCH_WORD_BITS); printf("Creation date: %s", ctime(&MDate)); + printf("%s\n", MaikoGitVersion); #ifdef LPSOLVE printf("Contains lp_solve LP solver.\n"); #endif /* LPSOLVE */