Skip to content

Commit

Permalink
log BuildLabEx if available
Browse files Browse the repository at this point in the history
  • Loading branch information
FunkyFr3sh committed Sep 19, 2024
1 parent 6977fcc commit 8924947
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,11 @@ void dbg_init()

char build[256] = { 0 };
DWORD build_size = sizeof(build);
RegQueryValueExA(hkey, "BuildLab", NULL, NULL, (PVOID)&build, &build_size);
if (RegQueryValueExA(hkey, "BuildLabEx", NULL, NULL, (PVOID)&build, &build_size) != ERROR_SUCCESS)
{
build_size = sizeof(build);
RegQueryValueExA(hkey, "BuildLab", NULL, NULL, (PVOID)&build, &build_size);
}

TRACE("%s %s (%s)\n", name, dversion, build);

Expand Down

0 comments on commit 8924947

Please sign in to comment.