mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
log BuildLabEx if available
This commit is contained in:
parent
6977fccdbe
commit
892494718a
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user