add git branch to logs

This commit is contained in:
FunkyFr3sh 2024-09-01 09:40:46 +02:00
parent 7c85e9c494
commit 0f2a367c36
4 changed files with 65 additions and 16 deletions

View file

@ -153,12 +153,13 @@ void dbg_init()
}
TRACE(
"cnc-ddraw version = %d.%d.%d.%d (git~%s)\n",
"cnc-ddraw version = %d.%d.%d.%d (git~%s, %s)\n",
VERSION_MAJOR,
VERSION_MINOR,
VERSION_BUILD,
VERSION_REVISION,
git_str(GIT_COMMIT));
git_str(GIT_COMMIT),
git_str(GIT_BRANCH));
HKEY hkey;
LONG status =