Merge pull request #4277 from bylaws/wine

Windows: Fix wine check
This commit is contained in:
LC authored and GitHub committed 2025-01-15 13:55:49 -05:00
commit fd09ded049
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -543,7 +543,7 @@ NTSTATUS ProcessInit() {
Exception::HandlerConfig.emplace();
const auto NtDll = GetModuleHandle("ntdll.dll");
const bool IsWine = !!GetProcAddress(NtDll, "__wine_get_version");
const bool IsWine = !!GetProcAddress(NtDll, "wine_get_version");
OvercommitTracker.emplace(IsWine);
{