Skip to content

Commit

Permalink
patches: restore pso2 patch original envvar value
Browse files Browse the repository at this point in the history
  • Loading branch information
GloriousEggroll committed Jun 27, 2022
1 parent 6a141b8 commit a66613b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions patches/game-patches/pso2_stutter_fix.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 344386726f06cc3507d99eeea580b78f2bb02ad4 Mon Sep 17 00:00:00 2001
From: udf <tabhooked@gmail.com>
Date: Mon, 27 Jun 2022 01:14:45 +0200
Subject: [PATCH] file: add WINE_CASE_SENSITIVE_OPEN_FILES env var
Subject: [PATCH] file: add WINE_NO_OPEN_FILE_SEARCH env var

---
dlls/ntdll/unix/file.c | 11 +++++++++++
Expand All @@ -20,7 +20,7 @@ index 850c70a6b2b..67b134998b2 100644
+ {
+ const char *env_var;
+
+ if ((skip_search = (env_var = getenv("WINE_CASE_SENSITIVE_OPEN_FILES")) && atoi(env_var)))
+ if ((skip_search = (env_var = getenv("WINE_NO_OPEN_FILE_SEARCH")) && atoi(env_var)))
+ WARN("Disabling case insensitive search for opening files");
+ }
+ if (skip_search && disposition == FILE_OPEN)
Expand Down

0 comments on commit a66613b

Please sign in to comment.