Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
6a05abed
Commit
6a05abed
authored
Jun 02, 2016
by
Luis Sahagun
Committed by
Alexandre Julliard
Jun 04, 2016
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winevdm: Tell dosbox to read the current user's config.
Signed-off-by:
Luis Sahagun
<
shankao@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
221b23bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
winevdm.c
programs/winevdm/winevdm.c
+5
-4
No files found.
programs/winevdm/winevdm.c
View file @
6a05abed
...
...
@@ -192,12 +192,13 @@ static void start_dosbox( const char *appname, const char *args )
p
+=
sprintf
(
p
,
"exit
\n
"
);
if
(
WriteFile
(
file
,
buffer
,
strlen
(
buffer
),
&
written
,
NULL
)
&&
written
==
strlen
(
buffer
))
{
const
char
*
args
[
4
];
const
char
*
args
[
5
];
char
*
config_file
=
wine_get_unix_file_name
(
config
);
args
[
0
]
=
dosbox
;
args
[
1
]
=
"-conf"
;
args
[
2
]
=
config_file
;
args
[
3
]
=
NULL
;
args
[
1
]
=
"-userconf"
;
args
[
2
]
=
"-conf"
;
args
[
3
]
=
config_file
;
args
[
4
]
=
NULL
;
ret
=
_spawnvp
(
_P_WAIT
,
args
[
0
],
args
);
}
CloseHandle
(
file
);
...
...
Vitaly Lipatov
@lav
mentioned in commit
a7704487
·
Sep 03, 2020
mentioned in commit
a7704487
mentioned in commit a7704487daf1d70bf3a0a19ef45c4ac50f558f9c
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment