mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 01:45:28 +00:00
[cli] Move user parameters before EGL parameters
Some games appear to fail parsing the command line correctly otherwise.
This commit is contained in:
parent
158b28eaff
commit
858d2f98e6
|
@ -637,8 +637,8 @@ class LegendaryCLI:
|
|||
full_params.extend(params.launch_command)
|
||||
full_params.append(os.path.join(params.game_directory, params.game_executable))
|
||||
full_params.extend(params.game_parameters)
|
||||
full_params.extend(params.egl_parameters)
|
||||
full_params.extend(params.user_parameters)
|
||||
full_params.extend(params.egl_parameters)
|
||||
# Copying existing env vars is required on Windows, probably a good idea on Linux
|
||||
full_env = os.environ.copy()
|
||||
full_env.update(params.environment)
|
||||
|
|
Loading…
Reference in a new issue