Skip to content

Commit

Permalink
import upstream changes
Browse files Browse the repository at this point in the history
  • Loading branch information
GloriousEggroll committed Mar 23, 2024
1 parent 6364b27 commit 512d7d8
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions proton
Original file line number Diff line number Diff line change
Expand Up @@ -952,10 +952,13 @@ class CompatData:
g_session.dlloverrides[f] = "n"

for f in vkd3d_protonfiles:
optional = False
if f == "d3d12core":
optional = True
try_copy(g_proton.lib64_dir + "wine/vkd3d-proton/" + f + ".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, optional=optional)
try_copy(g_proton.lib_dir + "wine/vkd3d-proton/" + f + ".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, optional=optional)
g_session.dlloverrides[f] = "n"

# If the user requested the NVAPI be available, copy it into place.
Expand Down Expand Up @@ -1074,7 +1077,10 @@ def default_compat_config():
]:
ret.add("noopwr")

if appid == "1621680":
if appid in [
"1621680",
"359870",
]:
ret.add("noforcelgadd")

if appid in [
Expand Down Expand Up @@ -1295,7 +1301,6 @@ class Session:
if "PROTON_LOG" in self.env and nonzero(self.env["PROTON_LOG"]):
self.env.setdefault("WINEDEBUG", "+timestamp,+pid,+tid,+seh,+unwind,+threadname,+debugstr,+loaddll,+mscoree")
self.env.setdefault("DXVK_LOG_LEVEL", "info")
self.env.setdefault("DXVK_NVAPI_LOG_LEVEL", "info")
self.env.setdefault("VKD3D_DEBUG", "warn")
self.env.setdefault("VKD3D_SHADER_DEBUG", "fixme")
self.env.setdefault("WINE_MONO_TRACE", "E:System.NotImplementedException")
Expand Down

0 comments on commit 512d7d8

Please sign in to comment.