Fix menu not showing with DXVK on Windows

This commit is contained in:
FakeMichau
2026-03-30 00:38:22 +02:00
parent e1cc46ca64
commit b971ec5cb4
+2
View File
@@ -351,6 +351,8 @@ HMODULE LibraryLoadHooks::LoadLibraryCheckW(std::wstring libName, LPCWSTR lpLibF
if (module != nullptr)
{
// Prevent vulkan-1 from unloading so that our hooks are valid
GetModuleHandleExW(GET_MODULE_HANDLE_EX_FLAG_PIN, L"vulkan-1", &module);
VulkanHooks::Hook(module);
}