add wine version to logs
This commit is contained in:
parent
64e2ddac0b
commit
7b2c6616a1
1 changed files with 6 additions and 0 deletions
|
@ -75,6 +75,12 @@ void dbg_init()
|
|||
RegQueryValueExA(hkey, "BuildLab", NULL, NULL, (PVOID)&build, &build_size);
|
||||
|
||||
dbg_printf("%s (%s)\n", name, build);
|
||||
|
||||
const char* (CDECL * wine_get_version)() =
|
||||
(void*)GetProcAddress(GetModuleHandleA("ntdll.dll"), "wine_get_version");
|
||||
|
||||
if (wine_get_version)
|
||||
dbg_printf("Wine version = %s\n", wine_get_version());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue