mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-29 16:15:52 +03:00
proton: Copy nvofapi64.dll in addition to other nvapi dlls.
Thanks to Liam Middlebrook.
This commit is contained in:
parent
74ddef65b1
commit
5ea05065b9
3
proton
3
proton
@ -1052,9 +1052,12 @@ class CompatData:
|
|||||||
if use_nvapi:
|
if use_nvapi:
|
||||||
try_copy(g_proton.lib64_dir + "wine/nvapi/nvapi64.dll", "drive_c/windows/system32",
|
try_copy(g_proton.lib64_dir + "wine/nvapi/nvapi64.dll", "drive_c/windows/system32",
|
||||||
prefix=self.prefix_dir, track_file=tracked_files, link_debug=True)
|
prefix=self.prefix_dir, track_file=tracked_files, link_debug=True)
|
||||||
|
try_copy(g_proton.lib64_dir + "wine/nvapi/nvofapi64.dll", "drive_c/windows/system32",
|
||||||
|
prefix=self.prefix_dir, track_file=tracked_files, link_debug=True)
|
||||||
try_copy(g_proton.lib_dir + "wine/nvapi/nvapi.dll", "drive_c/windows/syswow64",
|
try_copy(g_proton.lib_dir + "wine/nvapi/nvapi.dll", "drive_c/windows/syswow64",
|
||||||
prefix=self.prefix_dir, track_file=tracked_files, link_debug=True)
|
prefix=self.prefix_dir, track_file=tracked_files, link_debug=True)
|
||||||
g_session.dlloverrides["nvapi64"] = "n"
|
g_session.dlloverrides["nvapi64"] = "n"
|
||||||
|
g_session.dlloverrides["nvofapi64"] = "n"
|
||||||
g_session.dlloverrides["nvapi"] = "n"
|
g_session.dlloverrides["nvapi"] = "n"
|
||||||
g_session.dlloverrides["nvcuda"] = "b"
|
g_session.dlloverrides["nvcuda"] = "b"
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user