Skip to content

Commit

Permalink
ntdll: HACK: Enable WINE_SIMULATE_WRITECOPY for UplayWebCore.
Browse files Browse the repository at this point in the history
CW-Bug-Id: #22534
  • Loading branch information
Paul Gofman authored and ivyl committed Aug 1, 2023
1 parent 9303d43 commit 2ce886d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dlls/ntdll/unix/loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -2358,6 +2358,7 @@ static void hacks_init(void)

env_str = getenv("WINE_SIMULATE_WRITECOPY");
if (env_str) simulate_writecopy = atoi(env_str);
else if (main_argc > 1 && strstr(main_argv[1], "UplayWebCore.exe")) simulate_writecopy = TRUE;
else if (sgi) simulate_writecopy = !strcmp(sgi, "1608730") /* Dawn of Corruption */
|| !strcmp(sgi, "1680700") /* Purgo box */
|| !strcmp(sgi, "2095300") /* Breakout 13 */
Expand Down

0 comments on commit 2ce886d

Please sign in to comment.