Windows: Fix wine check

This did not work before :)
This commit is contained in:
Billy Laws committed 2025-01-14 20:27:03 +00:00
1 parent 48c03d747a
commit 11fc49a0f8
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -463,7 +463,7 @@ void BTCpuProcessInit() {
SyscallHandler = fextl::make_unique<WowSyscallHandler>();
Context::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);
{