File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -2310,15 +2310,18 @@ BOOL simulate_writecopy;
23102310static void hacks_init (void )
23112311{
23122312 static const char upc_exe [] = "Ubisoft Game Launcher\\upc.exe" ;
2313- static const char ac_odyssey_exe [] = "ACOdyssey.exe" ;
23142313 const char * env_str , * sgi ;
23152314
2316- if (main_argc > 1 && strstr (main_argv [1 ], ac_odyssey_exe ))
2317- {
2318- ERR ("HACK: AC Odyssey sync tweak on.\n" );
2315+
2316+ env_str = getenv ("WINE_SIMULATE_ASYNC_READ" );
2317+ if (env_str )
2318+ ac_odyssey = !!atoi (env_str );
2319+ else if (main_argc > 1 && (strstr (main_argv [1 ], "ACOdyssey.exe" ) || strstr (main_argv [1 ], "ImmortalsFenyxRising.exe" )))
23192320 ac_odyssey = TRUE;
2320- return ;
2321- }
2321+
2322+ if (ac_odyssey )
2323+ ERR ("HACK: AC Odyssey sync tweak on.\n" );
2324+
23222325 env_str = getenv ("WINE_FSYNC_SIMULATE_SCHED_QUANTUM" );
23232326 if (env_str )
23242327 fsync_simulate_sched_quantum = !!atoi (env_str );
You can’t perform that action at this time.
0 commit comments