proton: Enabled nvcuda.dll when nvapi is enabled.

Link: https://github.com/ValveSoftware/wine/pull/119
This commit is contained in:
Paul Gofman 2021-09-13 19:20:44 +03:00 committed by Arkadiusz Hiler
parent 4940f69c90
commit d9f80272c0

1
proton
View File

@ -801,6 +801,7 @@ class CompatData:
self.prefix_dir + "drive_c/windows/syswow64/nvapi.dll")
g_session.dlloverrides["nvapi64"] = "n"
g_session.dlloverrides["nvapi"] = "n"
g_session.dlloverrides["nvcuda"] = "b"
else:
nvapi64_dll = self.prefix_dir + "drive_c/windows/system32/nvapi64.dll"
nvapi32_dll = self.prefix_dir + "drive_c/windows/syswow64/nvapi.dll"